Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.To_inH2O,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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 1.43/1.43, allocations: 287.4 MB / 302.6 MB, free: 8.336 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.0009091/0.0009091, allocations: 182.5 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006628/0.0006627, allocations: 101.8 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 15.88 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1592, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.0008945/0.1602, allocations: 0.5327 MB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.1603, allocations: 47.77 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.1604, allocations: 4 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.1605, allocations: 3.938 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.1606, allocations: 11.91 kB / 0.9793 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.264e-05/0.1606, allocations: 16 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.38e-05/0.1607, allocations: 63.78 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1608, allocations: 37.38 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.783e-05/0.1609, allocations: 19.88 kB / 0.9795 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.1609, allocations: 23.8 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1609, allocations: 0 / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.161, allocations: 7.938 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.161, allocations: 11.92 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.161, allocations: 33.7 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.122e-05/0.1611, allocations: 56.09 kB / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1611, allocations: 0 / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1611, allocations: 3.938 kB / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1611, allocations: 0 / 0.9796 GB, free: 27.23 MB / 0.6198 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.0002841/0.1614, allocations: 383.2 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1614, allocations: 8.031 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.1615, allocations: 38.75 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.1615, allocations: 12.83 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1616, allocations: 188.2 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1617, allocations: 12.28 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1617, allocations: 8.375 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.1618, allocations: 102.3 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1618, allocations: 3.938 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1618, allocations: 8 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1618, allocations: 0 / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.405e-05/0.1619, allocations: 39.92 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1623, allocations: 448.6 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.642e-05/0.1624, allocations: 41.25 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.1624, allocations: 13.72 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1624, allocations: 4.062 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.1624, allocations: 30.56 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1624, allocations: 4 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001592/0.1626, allocations: 65.47 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.1626, allocations: 77.11 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1628, allocations: 165 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.1628, allocations: 25.7 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.1628, allocations: 108 kB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/0.1628, allocations: 3.906 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.1628, allocations: 4.25 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.1629, allocations: 322.8 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.1629, allocations: 8 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.1629, allocations: 17.72 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.163, allocations: 37.58 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.163, allocations: 0 / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.497e-05/0.1631, allocations: 65.55 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1631, allocations: 7.938 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1631, allocations: 3.984 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1631, allocations: 96 / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.1632, allocations: 11.98 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1632, allocations: 0 / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.1632, allocations: 7.891 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.1632, allocations: 8 kB / 0.9818 GB, free: 24.72 MB / 0.6198 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 4.628e-05/0.1633, allocations: 119.1 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.1633, allocations: 19.91 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.1633, allocations: 12.55 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1634, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1634, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1634, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1636, allocations: 478.8 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1636, allocations: 4 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.1637, allocations: 8.062 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1637, allocations: 3.938 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.1637, allocations: 3.984 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1637, allocations: 4 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1637, allocations: 0 / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.789e-05/0.1638, allocations: 85.69 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.1638, allocations: 89 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1638, allocations: 4.031 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.1638, allocations: 0 / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.1639, allocations: 4 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1639, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.1639, allocations: 132.2 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1639, allocations: 0 / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001634/0.1641, allocations: 8 kB / 0.9827 GB, free: 23.66 MB / 0.6198 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.000201/0.1643, allocations: 0.617 MB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.916e-05/0.1644, allocations: 19.98 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1644, allocations: 0 / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.1644, allocations: 11.94 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1646, allocations: 16.22 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.1652, allocations: 0.5816 MB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.616e-05/0.1653, allocations: 0.6926 MB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.1653, allocations: 8.422 kB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1654, allocations: 27.42 kB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.1654, allocations: 0 / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3843/0.5496, allocations: 1.573 MB / 0.9862 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.5498, allocations: 207.7 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.2, allocations: 0 / 0.9864 GB, free: 19.91 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1)