Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 107.9 kB / 16.41 MB, free: 6.445 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.001097/0.001097, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7302/0.7302, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 66.19 kB / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 77.93 MB / 0.644 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002535/0.1204, allocations: 1.456 MB / 0.6454 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007668/0.1212, allocations: 444 kB / 0.6459 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.1213, allocations: 0 / 0.6459 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.1214, allocations: 11.92 kB / 0.6459 GB, free: 7.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.1215, allocations: 7.922 kB / 0.6459 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.1217, allocations: 19.98 kB / 0.6459 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.964e-05/0.1218, allocations: 51.84 kB / 0.646 GB, free: 7.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1219, allocations: 15.98 kB / 0.646 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.122, allocations: 23.92 kB / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.1221, allocations: 23.91 kB / 0.646 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1221, allocations: 4 kB / 0.646 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.1221, allocations: 4 kB / 0.646 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.1221, allocations: 11.92 kB / 0.646 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1222, allocations: 23.88 kB / 0.6461 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1223, allocations: 56.02 kB / 0.6461 GB, free: 7.414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1223, allocations: 0 / 0.6461 GB, free: 7.414 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1223, allocations: 0 / 0.6461 GB, free: 7.414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1224, allocations: 0 / 0.6461 GB, free: 7.414 MB / 494.1 MB 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.0005599/0.1229, allocations: 363.4 kB / 0.6465 GB, free: 7.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.123, allocations: 8.625 kB / 0.6465 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.123, allocations: 30.75 kB / 0.6465 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.1231, allocations: 8.891 kB / 0.6465 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1232, allocations: 168.3 kB / 0.6467 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1232, allocations: 12.36 kB / 0.6467 GB, free: 6.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1232, allocations: 4.375 kB / 0.6467 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1234, allocations: 65.69 kB / 0.6467 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1234, allocations: 0 / 0.6467 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1234, allocations: 0 / 0.6467 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1234, allocations: 0 / 0.6467 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.1235, allocations: 27.98 kB / 0.6468 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.124, allocations: 304.7 kB / 0.6471 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1241, allocations: 54.56 kB / 0.6471 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.1242, allocations: 28.94 kB / 0.6471 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1242, allocations: 0 / 0.6471 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.1244, allocations: 71.42 kB / 0.6472 GB, free: 6.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1244, allocations: 0 / 0.6472 GB, free: 6.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002214/0.1246, allocations: 105.6 kB / 0.6473 GB, free: 6.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1246, allocations: 55.41 kB / 0.6474 GB, free: 5.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.1247, allocations: 105.8 kB / 0.6475 GB, free: 5.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1248, allocations: 29.7 kB / 0.6475 GB, free: 5.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.1248, allocations: 88.09 kB / 0.6476 GB, free: 5.703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1248, allocations: 31.77 kB / 0.6476 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1249, allocations: 21.72 kB / 0.6476 GB, free: 5.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.125, allocations: 326.8 kB / 0.6479 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.125, allocations: 19.94 kB / 0.648 GB, free: 5.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-05/0.1251, allocations: 43.42 kB / 0.648 GB, free: 5.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.697e-05/0.1252, allocations: 75.53 kB / 0.6481 GB, free: 5.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1252, allocations: 0 / 0.6481 GB, free: 5.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001432/0.1253, allocations: 93.55 kB / 0.6482 GB, free: 5.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1254, allocations: 12.41 kB / 0.6482 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1254, allocations: 0 / 0.6482 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1254, allocations: 0 / 0.6482 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.1255, allocations: 12 kB / 0.6482 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1255, allocations: 7.938 kB / 0.6482 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.1255, allocations: 11.94 kB / 0.6482 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1256, allocations: 7.938 kB / 0.6482 GB, free: 5.008 MB / 494.1 MB 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 7.896e-05/0.1256, allocations: 120.7 kB / 0.6483 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.1257, allocations: 8 kB / 0.6483 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.1257, allocations: 7.969 kB / 0.6483 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1257, allocations: 0 / 0.6483 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1257, allocations: 0 / 0.6483 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1257, allocations: 3.984 kB / 0.6483 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.1261, allocations: 362.4 kB / 0.6487 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1261, allocations: 0 / 0.6487 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.1262, allocations: 4 kB / 0.6487 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1262, allocations: 0 / 0.6487 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1262, allocations: 4 kB / 0.6487 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1262, allocations: 3.938 kB / 0.6487 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1262, allocations: 0 / 0.6487 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.1264, allocations: 183.4 kB / 0.6489 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1264, allocations: 85.06 kB / 0.649 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1264, allocations: 0 / 0.649 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.1265, allocations: 11.92 kB / 0.649 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.1266, allocations: 11.98 kB / 0.649 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1266, allocations: 8 kB / 0.649 GB, free: 4.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.689e-05/0.1266, allocations: 83.31 kB / 0.6491 GB, free: 4.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.253e-06/0.1266, allocations: 0 / 0.6491 GB, free: 4.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1269, allocations: 15.94 kB / 0.6491 GB, free: 4.008 MB / 494.1 MB 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.000415/0.1273, allocations: 0.7157 MB / 0.6498 GB, free: 3.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1275, allocations: 67.89 kB / 0.6498 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1275, allocations: 0 / 0.6498 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/0.1275, allocations: 27.94 kB / 0.6499 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1278, allocations: 13.36 kB / 0.6499 GB, free: 3.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1291, allocations: 1.375 MB / 0.6512 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.1293, allocations: 0.6885 MB / 0.6519 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.88e-05/0.1294, allocations: 4 kB / 0.6519 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.1294, allocations: 19.44 kB / 0.6519 GB, free: 0.957 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1294, allocations: 0 / 0.6519 GB, free: 0.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.1442, allocations: 1.756 MB / 0.6536 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.775, allocations: 3.25 kB / 0.6536 GB, free: 15.28 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)