Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 194.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.497/1.497, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 72.19 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1609, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001869/0.1628, allocations: 0.8842 MB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.1636, allocations: 0.8671 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.1637, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.1637, allocations: 11.86 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.1638, allocations: 19.8 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.164, allocations: 39.95 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1641, allocations: 107.7 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1642, allocations: 45.03 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.1643, allocations: 43.8 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.1644, allocations: 51.75 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.1644, allocations: 12 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.1645, allocations: 8 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.1645, allocations: 27.92 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.1645, allocations: 47.73 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.1647, allocations: 127.8 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1647, allocations: 0 / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1647, allocations: 0 / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1647, allocations: 0 / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007532/0.1654, allocations: 463 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1655, allocations: 8.031 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.1655, allocations: 42.75 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1655, allocations: 8.844 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1657, allocations: 192.1 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.1657, allocations: 384 / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1657, allocations: 12.38 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1659, allocations: 90.16 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1659, allocations: 7.922 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1659, allocations: 3.938 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1659, allocations: 4 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1661, allocations: 71.91 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00063/0.1667, allocations: 408.4 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.1669, allocations: 62.48 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.167, allocations: 28.97 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.167, allocations: 4 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.167, allocations: 42.56 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.167, allocations: 0 / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003027/0.1673, allocations: 105.5 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.1673, allocations: 59.34 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1675, allocations: 153.5 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1675, allocations: 29.7 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.1675, allocations: 108 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.1676, allocations: 11.91 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.1676, allocations: 21.7 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.1677, allocations: 322.8 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.1678, allocations: 23.98 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.1678, allocations: 31.97 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.168, allocations: 52.83 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.168, allocations: 0 / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001893/0.1682, allocations: 109.3 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1682, allocations: 8 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1682, allocations: 0 / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1682, allocations: 0 / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.1683, allocations: 4.25 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1683, allocations: 3.938 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.1685, allocations: 44.03 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.1685, allocations: 4 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/0.1686, allocations: 114.5 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1686, allocations: 7.906 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1687, allocations: 16.31 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1687, allocations: 0 / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1687, allocations: 7.938 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1687, allocations: 3.984 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1688, allocations: 197.6 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1689, allocations: 3.984 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.1689, allocations: 8 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1689, allocations: 3.938 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1689, allocations: 0 / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1689, allocations: 7.984 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.169, allocations: 3.938 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.1692, allocations: 175.4 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.1692, allocations: 96.91 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1692, allocations: 0 / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.1694, allocations: 23.97 kB / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.1695, allocations: 19.92 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1695, allocations: 0 / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.574e-05/0.1696, allocations: 117.5 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1696, allocations: 0 / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002111/0.1698, allocations: 16 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004158/0.1702, allocations: 0.725 MB / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.1704, allocations: 67.95 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.1704, allocations: 0 / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.1705, allocations: 36.05 kB / 0.7897 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.1708, allocations: 15.94 kB / 0.7898 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1722, allocations: 1.594 MB / 0.7913 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.1724, allocations: 0.7002 MB / 0.792 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.889e-05/0.1725, allocations: 11.84 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.1725, allocations: 31.42 kB / 0.792 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1725, allocations: 0 / 0.792 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.416/1.588, allocations: 2.712 MB / 0.7947 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.45, allocations: 13.89 kB / 0.7947 GB, free: 1.531 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)