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.001298/0.001298, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.00136/0.00136, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.002493/0.002493, allocations: 238.2 kB / 260 MB, free: 440 kB / 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 0.945/0.945, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.003191/0.003191, allocations: 99.84 kB / 0.6473 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4016, allocations: 95.34 MB / 0.7404 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002483/0.4041, allocations: 1.488 MB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.4049, allocations: 447.1 kB / 0.7423 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.4049, allocations: 4 kB / 0.7423 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.4049, allocations: 6.656 kB / 0.7423 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.405, allocations: 4.688 kB / 0.7423 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.4051, allocations: 31.08 kB / 0.7423 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.4052, allocations: 50.83 kB / 0.7424 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.4053, allocations: 13.84 kB / 0.7424 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/0.4054, allocations: 19.38 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.4054, allocations: 19.41 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.4054, allocations: 3.625 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.4055, allocations: 4.906 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.4055, allocations: 8.234 kB / 0.7425 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.4055, allocations: 28.34 kB / 0.7425 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.4056, allocations: 44.7 kB / 0.7425 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4056, allocations: 0 / 0.7425 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4056, allocations: 5.219 kB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4056, allocations: 0 / 0.7425 GB, free: 16.02 MB / 0.5919 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.000396/0.406, allocations: 285.3 kB / 0.7428 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.4061, allocations: 11.72 kB / 0.7428 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.4061, allocations: 3.938 kB / 0.7428 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.72e-05/0.4062, allocations: 111.1 kB / 0.7429 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4062, allocations: 10.53 kB / 0.7429 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.4062, allocations: 5.141 kB / 0.7429 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.4063, allocations: 66.36 kB / 0.743 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4063, allocations: 0 / 0.743 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.4063, allocations: 1.766 kB / 0.743 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4063, allocations: 1.156 kB / 0.743 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.4064, allocations: 29.38 kB / 0.743 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.4068, allocations: 241.5 kB / 0.7433 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.981e-05/0.4069, allocations: 50.69 kB / 0.7433 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.4069, allocations: 29.53 kB / 0.7433 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.4069, allocations: 1.703 kB / 0.7433 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.4071, allocations: 73.81 kB / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4071, allocations: 3.938 kB / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9): time 0.0002/0.4073, allocations: 95.02 kB / 0.7435 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.4073, allocations: 57.98 kB / 0.7436 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.047e-05/0.4073, allocations: 111.7 kB / 0.7437 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.4073, allocations: 28.14 kB / 0.7437 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.4074, allocations: 86.7 kB / 0.7438 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.4074, allocations: 21.3 kB / 0.7438 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.4074, allocations: 28.72 kB / 0.7438 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.671e-05/0.4075, allocations: 322.5 kB / 0.7441 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.4075, allocations: 16.05 kB / 0.7441 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.4075, allocations: 44.97 kB / 0.7442 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.513e-05/0.4076, allocations: 73.73 kB / 0.7443 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4076, allocations: 0 / 0.7443 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001288/0.4077, allocations: 94.2 kB / 0.7443 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4078, allocations: 9.172 kB / 0.7444 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4078, allocations: 1.312 kB / 0.7444 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4078, allocations: 5.281 kB / 0.7444 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.4078, allocations: 17.39 kB / 0.7444 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4078, allocations: 5.25 kB / 0.7444 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.4079, allocations: 11.25 kB / 0.7444 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4079, allocations: 3.125 kB / 0.7444 GB, free: 14.34 MB / 0.5919 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.432e-05/0.408, allocations: 120.9 kB / 0.7445 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.408, allocations: 11.61 kB / 0.7445 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.408, allocations: 9.484 kB / 0.7445 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.408, allocations: 1.25 kB / 0.7445 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.408, allocations: 5.281 kB / 0.7445 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.408, allocations: 0.7031 kB / 0.7445 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.4083, allocations: 304.5 kB / 0.7448 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4083, allocations: 0.6562 kB / 0.7448 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.4084, allocations: 3.969 kB / 0.7448 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4084, allocations: 1.188 kB / 0.7448 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4084, allocations: 1.859 kB / 0.7448 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4084, allocations: 0 / 0.7448 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4084, allocations: 3.984 kB / 0.7448 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.4085, allocations: 189.4 kB / 0.745 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.4085, allocations: 6.125 kB / 0.745 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.4085, allocations: 6.625 kB / 0.745 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.4086, allocations: 5.5 kB / 0.745 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.4086, allocations: 6.719 kB / 0.745 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.4087, allocations: 10.7 kB / 0.7451 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.329e-05/0.4087, allocations: 85.69 kB / 0.7451 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4087, allocations: 0 / 0.7451 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002457/0.4089, allocations: 19.8 kB / 0.7452 GB, free: 13.66 MB / 0.5919 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.599e-05/0.409, allocations: 95.61 kB / 0.7453 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.4091, allocations: 61.09 kB / 0.7453 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4091, allocations: 5.656 kB / 0.7453 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.4092, allocations: 20.17 kB / 0.7453 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.4094, allocations: 11.34 kB / 0.7453 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.4098, allocations: 169.1 kB / 0.7455 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.4098, allocations: 76.8 kB / 0.7456 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.4099, allocations: 4.734 kB / 0.7456 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.4099, allocations: 16.44 kB / 0.7456 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.4099, allocations: 1.5 kB / 0.7456 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of Templates: time 0.003272/0.4132, allocations: 0.8025 MB / 0.7464 GB, free: 13.21 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.753025503945537] Failed to read output from testmodel.py, exit status != 0: 0.4207264529541135 0.43205799199999995 0.023883938 Calling exit ...