Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 179.1 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 90.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 13.45 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2303, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001288/0.2317, allocations: 0.5601 MB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001522/0.2318, allocations: 53.02 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.2319, allocations: 4 kB / 0.9008 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.232, allocations: 3.938 kB / 0.9008 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2321, allocations: 4 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.203e-05/0.2322, allocations: 15.98 kB / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2323, allocations: 43.88 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.2325, allocations: 33.58 kB / 0.9008 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.2326, allocations: 23.86 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.2326, allocations: 19.84 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2327, allocations: 4 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.2327, allocations: 4 kB / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.2327, allocations: 11.94 kB / 0.9009 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.2328, allocations: 37.64 kB / 0.9009 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.981e-05/0.2329, allocations: 51.88 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2329, allocations: 0 / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.19e-06/0.2329, allocations: 4 kB / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.233, allocations: 0 / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004768/0.2334, allocations: 367.4 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.2335, allocations: 8.031 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.631e-05/0.2336, allocations: 42.56 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.2336, allocations: 15.75 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.2339, allocations: 208.1 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2339, allocations: 4 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.234, allocations: 8 kB / 0.9016 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.2342, allocations: 87.3 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2342, allocations: 11.92 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.2342, allocations: 4 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2343, allocations: 4 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2344, allocations: 35.98 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000702/0.2351, allocations: 448.7 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.693e-05/0.2352, allocations: 41.22 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.2352, allocations: 0 / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2353, allocations: 34.55 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 3.326e-06/0.2353, allocations: 0 / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002654/0.2356, allocations: 57.52 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.2356, allocations: 81.3 kB / 0.9024 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.2358, allocations: 182.1 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2359, allocations: 25.7 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.2359, allocations: 100 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.236, allocations: 11.89 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.236, allocations: 0 / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.236, allocations: 314.8 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.2361, allocations: 11.98 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.2361, allocations: 17.72 kB / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.104e-05/0.2362, allocations: 12 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2362, allocations: 0 / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000131/0.2363, allocations: 69.48 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2364, allocations: 6.656 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2364, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2364, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.2365, allocations: 8 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2366, allocations: 0 / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.2366, allocations: 15.91 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2367, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/0.2367, allocations: 113.8 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.2368, allocations: 15.8 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.2369, allocations: 16.55 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2369, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2369, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2369, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.2374, allocations: 490.8 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2374, allocations: 0 / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.2374, allocations: 4 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.2375, allocations: 4 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2375, allocations: 7.938 kB / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2375, allocations: 0 / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2375, allocations: 0 / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.2376, allocations: 99.62 kB / 0.9038 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.2377, allocations: 88.92 kB / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2377, allocations: 4 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.2378, allocations: 0 / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.2378, allocations: 3.984 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.2379, allocations: 0 / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001204/0.238, allocations: 132.9 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.238, allocations: 0 / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003153/0.2383, allocations: 8 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003778/0.2387, allocations: 0.7031 MB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.2389, allocations: 19.94 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2389, allocations: 4 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.291e-05/0.2389, allocations: 4 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.2391, allocations: 4 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.2402, allocations: 0.7417 MB / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2404, allocations: 0.7082 MB / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.295e-05/0.2405, allocations: 4.438 kB / 0.9062 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.2406, allocations: 27.42 kB / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of SimCode: time 4.8e-07/0.2406, allocations: 0 / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.2555, allocations: 1.575 MB / 0.9078 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.2557, allocations: 200.8 kB / 0.908 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.758, allocations: 0 / 0.908 GB, free: 55.46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1)