Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",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.001399/0.001399, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.037/1.037, allocations: 143.3 MB / 434.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 16 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1666, allocations: 83.41 MB / 0.5973 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001537/0.1682, allocations: 1.167 MB / 0.5985 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006113/0.1688, allocations: 415.3 kB / 0.5989 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.1689, allocations: 4 kB / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.1689, allocations: 0 / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.169, allocations: 7.922 kB / 0.5989 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.1691, allocations: 15.98 kB / 0.5989 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.1692, allocations: 31.91 kB / 0.5989 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.1693, allocations: 15.98 kB / 0.599 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.1693, allocations: 23.91 kB / 0.599 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.1694, allocations: 15.92 kB / 0.599 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1694, allocations: 0 / 0.599 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.1694, allocations: 4 kB / 0.599 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.1694, allocations: 4 kB / 0.599 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1695, allocations: 37.69 kB / 0.599 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.505e-05/0.1695, allocations: 24.17 kB / 0.5991 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1695, allocations: 4 kB / 0.5991 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1696, allocations: 3.938 kB / 0.5991 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.1696, allocations: 0 / 0.5991 GB, free: 6.023 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004889/0.1701, allocations: 355.2 kB / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1701, allocations: 12.03 kB / 0.5994 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.1702, allocations: 30.56 kB / 0.5994 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.1702, allocations: 7.906 kB / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1703, allocations: 178.9 kB / 0.5996 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1703, allocations: 4 kB / 0.5996 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1704, allocations: 4 kB / 0.5996 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1705, allocations: 57.62 kB / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1705, allocations: 0 / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1705, allocations: 15.97 kB / 0.5997 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1705, allocations: 0 / 0.5997 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1706, allocations: 19.98 kB / 0.5997 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.1711, allocations: 312.7 kB / 0.6 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.499e-05/0.1712, allocations: 50.56 kB / 0.6001 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.1712, allocations: 4.031 kB / 0.6001 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.1714, allocations: 79.59 kB / 0.6001 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.1714, allocations: 0 / 0.6001 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002111/0.1716, allocations: 105.5 kB / 0.6002 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1717, allocations: 55.39 kB / 0.6003 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1718, allocations: 105.8 kB / 0.6004 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1718, allocations: 33.69 kB / 0.6004 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.1719, allocations: 80.14 kB / 0.6005 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.1719, allocations: 27.64 kB / 0.6005 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.1719, allocations: 4 kB / 0.6005 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1721, allocations: 318.8 kB / 0.6008 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.1721, allocations: 16 kB / 0.6009 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.1722, allocations: 47.36 kB / 0.6009 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.1722, allocations: 20 kB / 0.6009 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1723, allocations: 0 / 0.6009 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001545/0.1724, allocations: 97.55 kB / 0.601 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1724, allocations: 8 kB / 0.601 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1725, allocations: 0 / 0.601 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1725, allocations: 4.031 kB / 0.601 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.1726, allocations: 15.94 kB / 0.601 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1726, allocations: 4 kB / 0.601 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.1726, allocations: 7.906 kB / 0.6011 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1727, allocations: 4 kB / 0.6011 GB, free: 3.742 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001037/0.1728, allocations: 125.8 kB / 0.6012 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/0.1729, allocations: 4 kB / 0.6012 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.1729, allocations: 11.97 kB / 0.6012 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1729, allocations: 4 kB / 0.6012 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1729, allocations: 3.953 kB / 0.6012 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1729, allocations: 0 / 0.6012 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.1734, allocations: 354.7 kB / 0.6015 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1734, allocations: 480 / 0.6015 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.1734, allocations: 7.984 kB / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1734, allocations: 4 kB / 0.6016 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1734, allocations: 3.953 kB / 0.6016 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1734, allocations: 0 / 0.6016 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1735, allocations: 11.92 kB / 0.6016 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1736, allocations: 179.5 kB / 0.6017 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1737, allocations: 84.95 kB / 0.6018 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1737, allocations: 0 / 0.6018 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.1738, allocations: 23.94 kB / 0.6018 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1739, allocations: 7.938 kB / 0.6019 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1739, allocations: 3.984 kB / 0.6019 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.1739, allocations: 83.28 kB / 0.6019 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 0 / 0.6019 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000229/0.1742, allocations: 12 kB / 0.6019 GB, free: 2.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000409/0.1746, allocations: 0.7124 MB / 0.6026 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.1747, allocations: 51.98 kB / 0.6027 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1747, allocations: 3.938 kB / 0.6027 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.1748, allocations: 31.92 kB / 0.6027 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.175, allocations: 13.83 kB / 0.6027 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009736/0.176, allocations: 0.9351 MB / 0.6037 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1763, allocations: 0.6965 MB / 0.6043 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.1764, allocations: 7.938 kB / 0.6043 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.1764, allocations: 15.44 kB / 0.6044 GB, free: 156 kB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1764, allocations: 0 / 0.6044 GB, free: 156 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2509/0.4273, allocations: 1.454 MB / 0.6058 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/0.4275, allocations: 193.4 kB / 0.606 GB, free: 40 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.145, allocations: 0.9375 kB / 0.606 GB, free: 40 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: