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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007779/0.0007779, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007592/0.0007592, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8533/0.8533, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001405/0.001405, allocations: 234.5 kB / 260.2 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6838/0.6838, allocations: 138.4 MB / 455.1 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.233e-06/1.233e-06, allocations: 0 / 0.6475 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.637e-05, allocations: 5.094 kB / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.2225/0.2225, allocations: 1.487 MB / 0.6489 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006637/0.2232, allocations: 453.9 kB / 0.6494 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.2232, allocations: 0.8438 kB / 0.6494 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.2232, allocations: 2.797 kB / 0.6494 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.2233, allocations: 8.922 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.2234, allocations: 28.27 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.671e-05/0.2235, allocations: 51.52 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.2236, allocations: 12.42 kB / 0.6495 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.2237, allocations: 27.47 kB / 0.6495 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.2237, allocations: 20.28 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.2238, allocations: 4.719 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.2238, allocations: 4.438 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.2238, allocations: 9.828 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.2238, allocations: 19.88 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2239, allocations: 40.25 kB / 0.6496 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2239, allocations: 0.875 kB / 0.6496 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2239, allocations: 2 kB / 0.6496 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.224, allocations: 0.5938 kB / 0.6496 GB, free: 56.35 MB / 0.5573 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.0003513/0.2243, allocations: 286.2 kB / 0.6498 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2243, allocations: 12.97 kB / 0.6499 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.2244, allocations: 13.14 kB / 0.6499 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.019e-05/0.2244, allocations: 112.6 kB / 0.65 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2245, allocations: 4.25 kB / 0.65 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2245, allocations: 7.672 kB / 0.65 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.2246, allocations: 54.8 kB / 0.65 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2246, allocations: 1.719 kB / 0.65 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2246, allocations: 3.391 kB / 0.65 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2246, allocations: 5.781 kB / 0.6501 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.2246, allocations: 27.91 kB / 0.6501 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.2249, allocations: 238.6 kB / 0.6503 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.957e-05/0.225, allocations: 51.81 kB / 0.6504 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.2251, allocations: 27.72 kB / 0.6504 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2251, allocations: 0.9062 kB / 0.6504 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.2252, allocations: 85.45 kB / 0.6505 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2252, allocations: 0.6562 kB / 0.6505 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0001844/0.2254, allocations: 95.94 kB / 0.6506 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.2254, allocations: 58.64 kB / 0.6506 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.2255, allocations: 110.8 kB / 0.6507 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.2255, allocations: 29.45 kB / 0.6507 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.2255, allocations: 86.69 kB / 0.6508 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.2255, allocations: 24.5 kB / 0.6509 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.2256, allocations: 26.34 kB / 0.6509 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.229e-05/0.2256, allocations: 320 kB / 0.6512 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.2256, allocations: 18.39 kB / 0.6512 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.2257, allocations: 47.33 kB / 0.6512 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.2257, allocations: 65.28 kB / 0.6513 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2257, allocations: 2.719 kB / 0.6513 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.86e-05/0.2258, allocations: 96.47 kB / 0.6514 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2258, allocations: 12.09 kB / 0.6514 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2259, allocations: 0.9062 kB / 0.6514 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2259, allocations: 2.984 kB / 0.6514 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.2259, allocations: 16.33 kB / 0.6514 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2259, allocations: 3.219 kB / 0.6514 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.226, allocations: 9.609 kB / 0.6514 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.226, allocations: 5.031 kB / 0.6515 GB, free: 54.84 MB / 0.5573 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.158e-05/0.226, allocations: 120.4 kB / 0.6516 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.226, allocations: 11.61 kB / 0.6516 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.2261, allocations: 9 kB / 0.6516 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2261, allocations: 2 kB / 0.6516 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2261, allocations: 1.391 kB / 0.6516 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2261, allocations: 0.5156 kB / 0.6516 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.2263, allocations: 300.1 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2263, allocations: 5.812 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.2263, allocations: 4.672 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2263, allocations: 0.75 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2263, allocations: 1.594 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2263, allocations: 4.109 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2263, allocations: 2.062 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.092e-05/0.2264, allocations: 187.5 kB / 0.6521 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.2264, allocations: 2.359 kB / 0.6521 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.2264, allocations: 8.391 kB / 0.6521 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.2265, allocations: 5.391 kB / 0.6521 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.2265, allocations: 7.938 kB / 0.6521 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.2265, allocations: 3.656 kB / 0.6521 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.566e-05/0.2265, allocations: 84.52 kB / 0.6522 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2265, allocations: 0.8125 kB / 0.6522 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001532/0.2267, allocations: 20.2 kB / 0.6522 GB, free: 54.26 MB / 0.5573 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 7.04e-05/0.2267, allocations: 96.42 kB / 0.6523 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.2268, allocations: 52.23 kB / 0.6523 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2268, allocations: 9.656 kB / 0.6524 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.2269, allocations: 21.16 kB / 0.6524 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.2271, allocations: 23.91 kB / 0.6524 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.2273, allocations: 180.7 kB / 0.6526 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.2274, allocations: 68.45 kB / 0.6526 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.2274, allocations: 24 kB / 0.6527 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of SimCode: time 3.5e-07/0.2274, allocations: 0 / 0.6527 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of Templates: time 0.001645/0.2291, allocations: 0.8915 MB / 0.6535 GB, free: 53.91 MB / 0.5573 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: 4.886595611460507] Failed to read output from testmodel.py, exit status != 0: 0.23404437117278576 0.24091440199999994 0.015427513 Calling exit ...