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.001521/0.001521, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001624/0.001624, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002582/0.002582, allocations: 284 kB / 291.3 MB, free: 14.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.238/1.238, allocations: 178.6 MB / 0.5079 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 95.84 kB / 0.6071 GB, free: 9.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.178, allocations: 89.14 MB / 0.6941 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002776/0.1808, allocations: 1.468 MB / 0.6956 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007117/0.1815, allocations: 438.9 kB / 0.696 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.1816, allocations: 0 / 0.696 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.1816, allocations: 3.938 kB / 0.696 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.1817, allocations: 11.92 kB / 0.696 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.1819, allocations: 23.91 kB / 0.696 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.182, allocations: 51.86 kB / 0.6961 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1821, allocations: 11.98 kB / 0.6961 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.1821, allocations: 19.92 kB / 0.6961 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.1822, allocations: 27.86 kB / 0.6961 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1822, allocations: 4 kB / 0.6961 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.1822, allocations: 4 kB / 0.6961 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.1823, allocations: 11.97 kB / 0.6962 GB, free: 14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.1823, allocations: 27.86 kB / 0.6962 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1824, allocations: 44.11 kB / 0.6962 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1824, allocations: 4 kB / 0.6962 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1825, allocations: 0 / 0.6962 GB, free: 13.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.1825, allocations: 0 / 0.6962 GB, free: 13.93 MB / 0.545 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.0005093/0.183, allocations: 351.5 kB / 0.6966 GB, free: 13.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.183, allocations: 12.03 kB / 0.6966 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1831, allocations: 8.844 kB / 0.6966 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1832, allocations: 164.3 kB / 0.6967 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1832, allocations: 8.375 kB / 0.6967 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1833, allocations: 16.34 kB / 0.6968 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1834, allocations: 61.88 kB / 0.6968 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1834, allocations: 0 / 0.6968 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.1834, allocations: 0 / 0.6968 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1834, allocations: 4 kB / 0.6968 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.1835, allocations: 23.98 kB / 0.6968 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.184, allocations: 308.6 kB / 0.6971 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1841, allocations: 58.56 kB / 0.6972 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.1842, allocations: 28.94 kB / 0.6972 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.1842, allocations: 0 / 0.6972 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.1843, allocations: 75.42 kB / 0.6973 GB, free: 12.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1844, allocations: 4 kB / 0.6973 GB, free: 12.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002274/0.1846, allocations: 97.61 kB / 0.6974 GB, free: 12.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1846, allocations: 55.34 kB / 0.6974 GB, free: 12.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.1847, allocations: 109.8 kB / 0.6976 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1848, allocations: 29.7 kB / 0.6976 GB, free: 12.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.1848, allocations: 88.14 kB / 0.6977 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1848, allocations: 19.64 kB / 0.6977 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.1849, allocations: 29.72 kB / 0.6977 GB, free: 12.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.185, allocations: 326.8 kB / 0.698 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.1851, allocations: 12 kB / 0.698 GB, free: 11.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.1851, allocations: 47.42 kB / 0.6981 GB, free: 11.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/0.1852, allocations: 67.36 kB / 0.6981 GB, free: 11.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1853, allocations: 0 / 0.6981 GB, free: 11.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001495/0.1854, allocations: 93.56 kB / 0.6982 GB, free: 11.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1854, allocations: 7.984 kB / 0.6982 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1854, allocations: 4 kB / 0.6982 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1855, allocations: 0 / 0.6982 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.1855, allocations: 8.375 kB / 0.6983 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1855, allocations: 0 / 0.6983 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.1856, allocations: 15.89 kB / 0.6983 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1856, allocations: 4 kB / 0.6983 GB, free: 11.59 MB / 0.545 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,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.646e-05/0.1857, allocations: 137.2 kB / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.1857, allocations: 4.031 kB / 0.6984 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.1858, allocations: 7.969 kB / 0.6984 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.1858, allocations: 4 kB / 0.6984 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1858, allocations: 0 / 0.6984 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1858, allocations: 0 / 0.6984 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.1862, allocations: 362.3 kB / 0.6988 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1862, allocations: 0 / 0.6988 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.1863, allocations: 8 kB / 0.6988 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1863, allocations: 4 kB / 0.6988 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1863, allocations: 12 kB / 0.6988 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1863, allocations: 3.938 kB / 0.6988 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1863, allocations: 0 / 0.6988 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.1865, allocations: 179.5 kB / 0.699 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.1866, allocations: 84.95 kB / 0.699 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1866, allocations: 4 kB / 0.699 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.1867, allocations: 7.922 kB / 0.6991 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1867, allocations: 15.98 kB / 0.6991 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1867, allocations: 4 kB / 0.6991 GB, free: 10.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.1868, allocations: 83.22 kB / 0.6992 GB, free: 10.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1868, allocations: 0 / 0.6992 GB, free: 10.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002358/0.187, allocations: 16 kB / 0.6992 GB, free: 10.57 MB / 0.545 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.48e-05/0.1871, allocations: 95.25 kB / 0.6993 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.1873, allocations: 55.91 kB / 0.6993 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1873, allocations: 4.062 kB / 0.6993 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.1874, allocations: 40.05 kB / 0.6994 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1876, allocations: 6.578 kB / 0.6994 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.188, allocations: 186.9 kB / 0.6995 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1884, allocations: 0.6923 MB / 0.7002 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1884, allocations: 11.44 kB / 0.7002 GB, free: 9.422 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.1884, allocations: 0 / 0.7002 GB, free: 9.422 MB / 0.545 GB Notification: Performance of Templates: time 0.002429/0.1909, allocations: 0.8658 MB / 0.7011 GB, free: 8.559 MB / 0.545 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)