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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 114.3 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002424/0.002424, allocations: 286.4 kB / 303.6 MB, free: 3.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 180.9 MB / 0.5268 GB, free: 2.727 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 107.8 kB / 0.7259 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4817, allocations: 94.15 MB / 0.8178 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002226/0.484, allocations: 1.472 MB / 0.8193 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006208/0.4846, allocations: 455.3 kB / 0.8197 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.4846, allocations: 0.8438 kB / 0.8197 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.4846, allocations: 7.938 kB / 0.8197 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.4847, allocations: 12.77 kB / 0.8197 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.4848, allocations: 19.83 kB / 0.8197 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.596e-05/0.4849, allocations: 53.61 kB / 0.8198 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.485, allocations: 10.41 kB / 0.8198 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.4851, allocations: 23.69 kB / 0.8198 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.4851, allocations: 23.03 kB / 0.8198 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.4851, allocations: 5.406 kB / 0.8198 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.4852, allocations: 8.094 kB / 0.8199 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.4852, allocations: 9.5 kB / 0.8199 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.4852, allocations: 26.61 kB / 0.8199 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.935e-05/0.4853, allocations: 40.14 kB / 0.8199 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4853, allocations: 0 / 0.8199 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4853, allocations: 1.125 kB / 0.8199 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.4853, allocations: 3.938 kB / 0.8199 GB, free: 5.984 MB / 0.5762 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.0004062/0.4857, allocations: 362.1 kB / 0.8203 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4858, allocations: 9.906 kB / 0.8203 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.4858, allocations: 7.797 kB / 0.8203 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.866e-05/0.4859, allocations: 163.8 kB / 0.8204 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.4859, allocations: 13.55 kB / 0.8205 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4859, allocations: 4.688 kB / 0.8205 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.486, allocations: 62.34 kB / 0.8205 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.486, allocations: 1 kB / 0.8205 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.486, allocations: 3.984 kB / 0.8205 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.486, allocations: 2.5 kB / 0.8205 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.4861, allocations: 27.91 kB / 0.8206 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.4865, allocations: 308.5 kB / 0.8209 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.922e-05/0.4866, allocations: 51.25 kB / 0.8209 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.4866, allocations: 18.98 kB / 0.8209 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.4866, allocations: 1.875 kB / 0.8209 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.4868, allocations: 75.41 kB / 0.821 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4868, allocations: 5.156 kB / 0.821 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002039/0.487, allocations: 104.1 kB / 0.8211 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.487, allocations: 52.75 kB / 0.8211 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.487, allocations: 104.3 kB / 0.8212 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.4871, allocations: 30.83 kB / 0.8213 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.4871, allocations: 89.86 kB / 0.8214 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.4871, allocations: 23.2 kB / 0.8214 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.4871, allocations: 28.67 kB / 0.8214 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.4872, allocations: 324.2 kB / 0.8217 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.4872, allocations: 16.67 kB / 0.8217 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/0.4873, allocations: 44.19 kB / 0.8218 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.4873, allocations: 73.89 kB / 0.8219 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4873, allocations: 1.188 kB / 0.8219 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001252/0.4875, allocations: 96.56 kB / 0.8219 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4875, allocations: 5.344 kB / 0.8219 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4875, allocations: 1.125 kB / 0.822 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4875, allocations: 1.531 kB / 0.822 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.4876, allocations: 11.73 kB / 0.822 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4876, allocations: 1.344 kB / 0.822 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.4876, allocations: 15.95 kB / 0.822 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4876, allocations: 4.25 kB / 0.822 GB, free: 4.062 MB / 0.5762 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 5.539e-05/0.4877, allocations: 131.4 kB / 0.8221 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.4877, allocations: 3.594 kB / 0.8221 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.4877, allocations: 9.344 kB / 0.8221 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4877, allocations: 3.984 kB / 0.8221 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4877, allocations: 1.25 kB / 0.8221 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4877, allocations: 3.938 kB / 0.8221 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.4881, allocations: 361.1 kB / 0.8225 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4881, allocations: 0.9375 kB / 0.8225 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.4881, allocations: 3.656 kB / 0.8225 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4881, allocations: 4.656 kB / 0.8225 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4881, allocations: 1.328 kB / 0.8225 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.4881, allocations: 4.812 kB / 0.8225 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4881, allocations: 0 / 0.8225 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.4882, allocations: 180.2 kB / 0.8227 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.4883, allocations: 82.84 kB / 0.8227 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.4883, allocations: 6.125 kB / 0.8227 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.4884, allocations: 13.67 kB / 0.8228 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.4884, allocations: 7.016 kB / 0.8228 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.4884, allocations: 1.938 kB / 0.8228 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.4884, allocations: 87.02 kB / 0.8229 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4884, allocations: 0 / 0.8229 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000239/0.4887, allocations: 19.25 kB / 0.8229 GB, free: 3.23 MB / 0.5762 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 6.207e-05/0.4887, allocations: 95.06 kB / 0.823 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.4889, allocations: 58.11 kB / 0.823 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4889, allocations: 5.219 kB / 0.823 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/0.4889, allocations: 22.38 kB / 0.823 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.4892, allocations: 23 kB / 0.8231 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.4895, allocations: 183.8 kB / 0.8232 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.417e-05/0.4896, allocations: 0.6828 MB / 0.8239 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.4897, allocations: 11.69 kB / 0.8239 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.4897, allocations: 4 kB / 0.8239 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of Templates: time 0.002256/0.4919, allocations: 0.8669 MB / 0.8248 GB, free: 2.176 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.407766341930255] Failed to read output from testmodel.py, exit status != 0: 0.4999975392129272 0.521778223 0.031783466 Calling exit ...