Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.488/2.488, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 188.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 91.06 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.308e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7439/0.7439, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2196/0.9636, allocations: 136.7 MB / 1.097 GB, free: 3.797 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.9639, allocations: 62.83 kB / 1.097 GB, free: 3.738 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003988/0.9679, allocations: 1.143 MB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9679, allocations: 0.6875 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.465e-06/0.9679, allocations: 4 kB / 1.098 GB, free: 2.613 MB / 0.698 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.0004193/0.9684, allocations: 377.5 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.9684, allocations: 8.031 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.9685, allocations: 11.81 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.9687, allocations: 179.5 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.9687, allocations: 4 kB / 1.099 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.9687, allocations: 4.625 kB / 1.099 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001367/0.9689, allocations: 40.91 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.9691, allocations: 79.94 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9691, allocations: 4.719 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.9691, allocations: 0 / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9691, allocations: 0.6875 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006748/0.9698, allocations: 420.6 kB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/0.9699, allocations: 35.75 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.9699, allocations: 22.44 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.97, allocations: 1.812 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.97, allocations: 31.22 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.97, allocations: 0.5 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/0.9702, allocations: 42.86 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.9703, allocations: 86.03 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.9704, allocations: 131.2 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.9705, allocations: 26.23 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.9706, allocations: 112.8 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.9706, allocations: 3.906 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.9706, allocations: 0.875 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9707, allocations: 318.8 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.9708, allocations: 5 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.9708, allocations: 25.67 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.9709, allocations: 8 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9709, allocations: 1.594 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001303/0.971, allocations: 61.5 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.9711, allocations: 11.98 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9711, allocations: 224 / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9711, allocations: 2.203 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.9712, allocations: 7.938 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.9712, allocations: 5.688 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.9713, allocations: 3.938 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.9713, allocations: 0 / 1.1 GB, free: 392 kB / 0.698 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 () * 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 8.766e-05/0.9714, allocations: 105.1 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001235/0.9715, allocations: 61.48 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.9716, allocations: 7.906 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.9716, allocations: 3.969 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.9716, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.9717, allocations: 6.75 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.9717, allocations: 0 / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005442/0.9722, allocations: 459.4 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9722, allocations: 3.656 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.9723, allocations: 4 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.9723, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.9723, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9723, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.9724, allocations: 4 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.9725, allocations: 95.62 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.9726, allocations: 88.94 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.9726, allocations: 4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.9727, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.9727, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.9727, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001004/0.9728, allocations: 109.3 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9728, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002644/0.9731, allocations: 12.03 kB / 1.101 GB, free: 15.34 MB / 0.7136 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 () * 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.0004763/0.9736, allocations: 0.6837 MB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.9737, allocations: 27.97 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9737, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.105e-05/0.9738, allocations: 4 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.9739, allocations: 11.95 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.9744, allocations: 138.1 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.9748, allocations: 0.7099 MB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.9748, allocations: 4.188 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.9749, allocations: 23.42 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of SimCode: time 2.836e-06/0.9749, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.842/2.817, allocations: 0.9832 MB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/2.818, allocations: 151.5 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/5.167, allocations: 3.172 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)