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.001843/0.001843, allocations: 79.36 kB / 19.01 MB, free: 2.867 MB / 14.72 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.002208/0.002208, allocations: 159.4 kB / 22.26 MB, free: 5.133 MB / 14.72 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 1.418/1.418, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 178] 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.002497/0.002497, allocations: 229.9 kB / 259.2 MB, free: 0.5938 MB / 238.1 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 1.054/1.054, allocations: 138.5 MB / 454.2 MB, free: 2.109 MB / 366.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003069/0.003069, allocations: 99.84 kB / 0.6466 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3487, allocations: 95.34 MB / 0.7397 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002665/0.3514, allocations: 1.497 MB / 0.7411 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007847/0.3522, allocations: 434.9 kB / 0.7415 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.3522, allocations: 8 kB / 0.7416 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.3523, allocations: 0 / 0.7416 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/0.3523, allocations: 19.84 kB / 0.7416 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.3525, allocations: 19.98 kB / 0.7416 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.3526, allocations: 47.84 kB / 0.7416 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.3527, allocations: 11.94 kB / 0.7416 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.3527, allocations: 35.95 kB / 0.7417 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.3528, allocations: 19.86 kB / 0.7417 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3528, allocations: 4 kB / 0.7417 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.3528, allocations: 4 kB / 0.7417 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.3529, allocations: 15.98 kB / 0.7417 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.3529, allocations: 15.92 kB / 0.7417 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.353, allocations: 52.88 kB / 0.7418 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.353, allocations: 0 / 0.7418 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.353, allocations: 0 / 0.7418 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.353, allocations: 0 / 0.7418 GB, free: 13.11 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.0004851/0.3535, allocations: 290.2 kB / 0.7421 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3535, allocations: 9.938 kB / 0.7421 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.3536, allocations: 4.938 kB / 0.7421 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3537, allocations: 110.5 kB / 0.7422 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3537, allocations: 12.36 kB / 0.7422 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3537, allocations: 12.38 kB / 0.7422 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3539, allocations: 61.88 kB / 0.7423 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3539, allocations: 0 / 0.7423 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3539, allocations: 0 / 0.7423 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3539, allocations: 4 kB / 0.7423 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.3539, allocations: 23.98 kB / 0.7423 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.3544, allocations: 240.3 kB / 0.7425 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.3545, allocations: 50.56 kB / 0.7426 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.3546, allocations: 24.95 kB / 0.7426 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.3546, allocations: 0 / 0.7426 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.3547, allocations: 79.36 kB / 0.7427 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3547, allocations: 0 / 0.7427 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002311/0.3549, allocations: 101.6 kB / 0.7428 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.355, allocations: 55.41 kB / 0.7428 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.3551, allocations: 109.8 kB / 0.7429 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3551, allocations: 29.7 kB / 0.743 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.3552, allocations: 88.12 kB / 0.743 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3552, allocations: 15.86 kB / 0.7431 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.3552, allocations: 37.7 kB / 0.7431 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3554, allocations: 326.7 kB / 0.7434 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.3554, allocations: 16 kB / 0.7434 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.3555, allocations: 43.42 kB / 0.7435 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3556, allocations: 71.53 kB / 0.7435 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3556, allocations: 0 / 0.7435 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001513/0.3558, allocations: 89.58 kB / 0.7436 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3558, allocations: 8 kB / 0.7436 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3558, allocations: 3.938 kB / 0.7436 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3558, allocations: 12.39 kB / 0.7436 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.3559, allocations: 8 kB / 0.7436 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3559, allocations: 3.984 kB / 0.7436 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.3559, allocations: 11.98 kB / 0.7437 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3559, allocations: 7.938 kB / 0.7437 GB, free: 11 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 9.463e-05/0.356, allocations: 127.2 kB / 0.7438 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.356, allocations: 7.953 kB / 0.7438 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.3561, allocations: 8.125 kB / 0.7438 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3561, allocations: 0 / 0.7438 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3561, allocations: 4.062 kB / 0.7438 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3561, allocations: 8 kB / 0.7438 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.3565, allocations: 302.1 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3565, allocations: 0 / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.3565, allocations: 4 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3565, allocations: 0 / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3565, allocations: 0 / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3565, allocations: 0 / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3565, allocations: 0 / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.3567, allocations: 191.4 kB / 0.7443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.3567, allocations: 0 / 0.7443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3568, allocations: 11.98 kB / 0.7443 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.3568, allocations: 4 kB / 0.7443 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3569, allocations: 11.92 kB / 0.7443 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.3569, allocations: 7.938 kB / 0.7443 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.3569, allocations: 87.27 kB / 0.7444 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3569, allocations: 0 / 0.7444 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002443/0.3572, allocations: 15.95 kB / 0.7444 GB, free: 10.16 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 0.0001023/0.3573, allocations: 99.19 kB / 0.7445 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.3574, allocations: 52.25 kB / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3574, allocations: 192 / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.3575, allocations: 27.92 kB / 0.7446 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.3578, allocations: 19.41 kB / 0.7446 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.3582, allocations: 169.2 kB / 0.7448 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.3582, allocations: 71.28 kB / 0.7448 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.3583, allocations: 7.984 kB / 0.7448 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.3583, allocations: 12.56 kB / 0.7449 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.3583, allocations: 4 kB / 0.7449 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of Templates: time 0.0033/0.3616, allocations: 0.802 MB / 0.7456 GB, free: 8.875 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: 5.608519459143281] Failed to read output from testmodel.py, exit status != 0: 0.36969031766057014 0.38438543 0.028351568 Calling exit ...