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.462/1.462, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001066/0.001066, allocations: 176.4 kB / 326.5 MB, free: 2.25 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.019/2.019, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009277/0.0009279, allocations: 90.28 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 9.969 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2898, allocations: 106.3 MB / 0.9002 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.4758, allocations: 131.4 MB / 1.028 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4761, allocations: 67.97 kB / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002928/0.479, allocations: 1.165 MB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.116e-06/0.479, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.4791, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 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.0004994/0.4796, allocations: 378.9 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.153e-05/0.4797, allocations: 8.031 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.4797, allocations: 46.55 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.4798, allocations: 15.75 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.48, allocations: 184.8 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.48, allocations: 8 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.4801, allocations: 7.938 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.4803, allocations: 94.19 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4803, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4803, allocations: 8 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4803, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.4804, allocations: 43.92 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.4812, allocations: 460.7 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.579e-05/0.4812, allocations: 37.16 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.4813, allocations: 0 / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4813, allocations: 34.56 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4813, allocations: 0 / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002288/0.4815, allocations: 61.81 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.4816, allocations: 77.11 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.4818, allocations: 165.2 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.4818, allocations: 25.7 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.482, allocations: 108 kB / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.482, allocations: 7.844 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.482, allocations: 0 / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4821, allocations: 323.7 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.4822, allocations: 12.03 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.4822, allocations: 17.72 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.4822, allocations: 12 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4823, allocations: 3.953 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.293e-05/0.4824, allocations: 69.53 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4824, allocations: 4 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4824, allocations: 0 / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4824, allocations: 64 / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.4825, allocations: 12 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4825, allocations: 0 / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.4826, allocations: 3.906 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4826, allocations: 4 kB / 1.032 GB, free: 8.973 MB / 0.6823 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 0.0001063/0.4827, allocations: 118.3 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.4827, allocations: 11.86 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.4828, allocations: 12.56 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4828, allocations: 0 / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4828, allocations: 3.938 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4828, allocations: 4 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.4832, allocations: 490.7 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4832, allocations: 0 / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.4833, allocations: 4 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4833, allocations: 0 / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4833, allocations: 0 / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4833, allocations: 3.938 kB / 1.032 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4833, allocations: 8.062 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.4834, allocations: 91.56 kB / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.4835, allocations: 89 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.4835, allocations: 0 / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.554e-05/0.4836, allocations: 0 / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.4836, allocations: 8.031 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.4836, allocations: 0 / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001046/0.4837, allocations: 128.9 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4837, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001766/0.4839, allocations: 15.84 kB / 1.033 GB, free: 7.887 MB / 0.6823 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.0004979/0.4844, allocations: 0.7031 MB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.748e-05/0.4845, allocations: 23.92 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4845, allocations: 0 / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.4845, allocations: 4 kB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.4846, allocations: 8 kB / 1.033 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.4856, allocations: 0.7511 MB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.4859, allocations: 0.7005 MB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.058e-05/0.4859, allocations: 12.41 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.486, allocations: 19.44 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.486, allocations: 0 / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.4986, allocations: 1.591 MB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.4989, allocations: 192 kB / 1.037 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.059, allocations: 0 / 1.037 GB, free: 3.883 MB / 0.6823 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)