Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001551/0.001552, allocations: 194.5 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002621/0.002621, allocations: 286.2 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5069 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 94.8 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1492, allocations: 89.15 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002654/0.1519, allocations: 1.527 MB / 0.6945 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006739/0.1525, allocations: 435.6 kB / 0.6949 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.1526, allocations: 0.5 kB / 0.6949 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.1526, allocations: 3.438 kB / 0.6949 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.677e-05/0.1527, allocations: 15.91 kB / 0.6949 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.1528, allocations: 15.98 kB / 0.6949 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.406e-05/0.1529, allocations: 51.86 kB / 0.695 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.153, allocations: 15.97 kB / 0.695 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.1531, allocations: 23.92 kB / 0.695 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.1531, allocations: 19.91 kB / 0.695 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1532, allocations: 8 kB / 0.695 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.1532, allocations: 4 kB / 0.695 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.1532, allocations: 15.92 kB / 0.695 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.1533, allocations: 19.94 kB / 0.6951 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.657e-05/0.1534, allocations: 48.02 kB / 0.6951 GB, free: 2.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1534, allocations: 0 / 0.6951 GB, free: 2.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1534, allocations: 4 kB / 0.6951 GB, free: 2.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1534, allocations: 0 / 0.6951 GB, free: 2.508 MB / 494.1 MB 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.0004994/0.1539, allocations: 359.5 kB / 0.6955 GB, free: 2.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1539, allocations: 12.03 kB / 0.6955 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.154, allocations: 8.844 kB / 0.6955 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1541, allocations: 172.3 kB / 0.6956 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1541, allocations: 384 / 0.6956 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1542, allocations: 8.375 kB / 0.6956 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.1543, allocations: 61.98 kB / 0.6957 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1543, allocations: 0 / 0.6957 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1543, allocations: 0 / 0.6957 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1543, allocations: 0 / 0.6957 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.294e-05/0.1544, allocations: 27.92 kB / 0.6957 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.1549, allocations: 304.7 kB / 0.696 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.155, allocations: 62.59 kB / 0.6961 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.1551, allocations: 20.95 kB / 0.6961 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.1551, allocations: 4 kB / 0.6961 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.1552, allocations: 75.31 kB / 0.6962 GB, free: 1.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.1552, allocations: 0 / 0.6962 GB, free: 1.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002154/0.1554, allocations: 101.5 kB / 0.6963 GB, free: 1.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1555, allocations: 59.41 kB / 0.6963 GB, free: 1.074 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.1556, allocations: 105.8 kB / 0.6964 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1556, allocations: 29.7 kB / 0.6965 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.1557, allocations: 88.14 kB / 0.6965 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1557, allocations: 27.64 kB / 0.6966 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.1558, allocations: 29.7 kB / 0.6966 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1559, allocations: 322.7 kB / 0.6969 GB, free: 460 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.156, allocations: 19.98 kB / 0.6969 GB, free: 440 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.235e-05/0.156, allocations: 39.42 kB / 0.697 GB, free: 388 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.311e-05/0.1561, allocations: 71.55 kB / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1561, allocations: 0 / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001506/0.1563, allocations: 101.5 kB / 0.6971 GB, free: 196 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1563, allocations: 4 kB / 0.6971 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1563, allocations: 0 / 0.6971 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1564, allocations: 4 kB / 0.6971 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.1564, allocations: 15.92 kB / 0.6972 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1564, allocations: 0 / 0.6972 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.532e-05/0.1565, allocations: 8.031 kB / 0.6972 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1565, allocations: 8 kB / 0.6972 GB, free: 156 kB / 494.1 MB 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.437e-05/0.1566, allocations: 126.4 kB / 0.6973 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.1566, allocations: 4 kB / 0.6973 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.1567, allocations: 7.969 kB / 0.6973 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1567, allocations: 0 / 0.6973 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1567, allocations: 0 / 0.6973 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1567, allocations: 4 kB / 0.6973 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.1572, allocations: 366.6 kB / 0.6977 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1572, allocations: 0 / 0.6977 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1572, allocations: 12.05 kB / 0.6977 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1572, allocations: 0 / 0.6977 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1572, allocations: 0 / 0.6977 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1572, allocations: 3.938 kB / 0.6977 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1572, allocations: 4 kB / 0.6977 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1574, allocations: 187.4 kB / 0.6978 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.1575, allocations: 81.05 kB / 0.6979 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1575, allocations: 0 / 0.6979 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.1576, allocations: 15.92 kB / 0.6979 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1576, allocations: 7.938 kB / 0.6979 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.1577, allocations: 4 kB / 0.698 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.1577, allocations: 87.27 kB / 0.698 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1577, allocations: 0 / 0.698 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000235/0.158, allocations: 12 kB / 0.698 GB, free: 15.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.183e-05/0.1581, allocations: 103.2 kB / 0.6981 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1582, allocations: 59.84 kB / 0.6982 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1582, allocations: 0 / 0.6982 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.1583, allocations: 20 kB / 0.6982 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1585, allocations: 19.36 kB / 0.6982 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.1589, allocations: 177.9 kB / 0.6984 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1593, allocations: 0.6846 MB / 0.6991 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.1593, allocations: 4 kB / 0.6991 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.1593, allocations: 15.38 kB / 0.6991 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1593, allocations: 4 kB / 0.6991 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.003086/0.1624, allocations: 0.7254 MB / 0.6998 GB, free: 13.29 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)