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.001446/0.001446, allocations: 109.4 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.00212/0.00212, 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8352/0.8352, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 68.34 kB / 0.5735 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1274, allocations: 78.87 MB / 0.6505 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002616/0.1301, allocations: 1.448 MB / 0.6519 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.1309, allocations: 456.7 kB / 0.6524 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.1309, allocations: 0 / 0.6524 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.131, allocations: 3.938 kB / 0.6524 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.1311, allocations: 7.938 kB / 0.6524 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.1312, allocations: 15.92 kB / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.312e-05/0.1313, allocations: 51.89 kB / 0.6524 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1314, allocations: 19.98 kB / 0.6525 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.1315, allocations: 27.86 kB / 0.6525 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.1316, allocations: 19.92 kB / 0.6525 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1316, allocations: 4 kB / 0.6525 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.1316, allocations: 4 kB / 0.6525 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.1316, allocations: 15.92 kB / 0.6525 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.1317, allocations: 19.92 kB / 0.6525 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.1318, allocations: 48.03 kB / 0.6526 GB, free: 1.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1318, allocations: 0 / 0.6526 GB, free: 1.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1318, allocations: 0 / 0.6526 GB, free: 1.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1318, allocations: 0 / 0.6526 GB, free: 1.496 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.0005112/0.1324, allocations: 367.4 kB / 0.6529 GB, free: 1.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1324, allocations: 8.031 kB / 0.653 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.1324, allocations: 34.75 kB / 0.653 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.1325, allocations: 4.891 kB / 0.653 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1326, allocations: 176.2 kB / 0.6532 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1326, allocations: 8.375 kB / 0.6532 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1327, allocations: 4.375 kB / 0.6532 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1328, allocations: 57.75 kB / 0.6532 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1328, allocations: 0 / 0.6532 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1328, allocations: 3.984 kB / 0.6532 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1328, allocations: 8 kB / 0.6532 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.599e-05/0.1329, allocations: 31.91 kB / 0.6533 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.1334, allocations: 296.8 kB / 0.6536 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1335, allocations: 54.66 kB / 0.6536 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.1336, allocations: 32.88 kB / 0.6536 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.1336, allocations: 4 kB / 0.6536 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.1338, allocations: 71.38 kB / 0.6537 GB, free: 188 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1338, allocations: 0 / 0.6537 GB, free: 188 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002239/0.134, allocations: 101.6 kB / 0.6538 GB, free: 80 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.134, allocations: 55.41 kB / 0.6539 GB, free: 12 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.1341, allocations: 105.8 kB / 0.654 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1342, allocations: 29.7 kB / 0.654 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.1342, allocations: 92.09 kB / 0.6541 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1343, allocations: 23.83 kB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1343, allocations: 25.66 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1344, allocations: 326.8 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.1345, allocations: 15.94 kB / 0.6544 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.1346, allocations: 43.42 kB / 0.6545 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.414e-05/0.1347, allocations: 71.36 kB / 0.6546 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1347, allocations: 0 / 0.6546 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001496/0.1348, allocations: 97.94 kB / 0.6546 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1348, allocations: 4 kB / 0.6547 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1348, allocations: 0 / 0.6547 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1349, allocations: 4 kB / 0.6547 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.1349, allocations: 15.94 kB / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.135, allocations: 3.938 kB / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.135, allocations: 15.97 kB / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.135, allocations: 7.938 kB / 0.6547 GB, free: 15.08 MB / 0.4981 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 8.893e-05/0.1351, allocations: 114.5 kB / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.1352, allocations: 4 kB / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.1352, allocations: 8.25 kB / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1352, allocations: 3.984 kB / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1352, allocations: 4 kB / 0.6548 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1352, allocations: 3.984 kB / 0.6548 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1356, allocations: 366.4 kB / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1357, allocations: 64 / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.1357, allocations: 11.94 kB / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1357, allocations: 0 / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1357, allocations: 0 / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1357, allocations: 3.938 kB / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1357, allocations: 4 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1359, allocations: 187.4 kB / 0.6554 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.136, allocations: 81.06 kB / 0.6555 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.136, allocations: 7.922 kB / 0.6555 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.1361, allocations: 7.938 kB / 0.6555 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1361, allocations: 11.98 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1361, allocations: 4 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.1362, allocations: 79.28 kB / 0.6556 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1362, allocations: 0 / 0.6556 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002366/0.1364, allocations: 16 kB / 0.6556 GB, free: 14.08 MB / 0.4981 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.0004749/0.1369, allocations: 0.7203 MB / 0.6563 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1371, allocations: 51.92 kB / 0.6563 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1371, allocations: 0 / 0.6563 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.1371, allocations: 31.92 kB / 0.6564 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1374, allocations: 16.25 kB / 0.6564 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1388, allocations: 1.372 MB / 0.6577 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1391, allocations: 0.6846 MB / 0.6584 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.1391, allocations: 7.938 kB / 0.6584 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.1392, allocations: 23.42 kB / 0.6584 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1392, allocations: 3.938 kB / 0.6584 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.345/1.484, allocations: 1.75 MB / 0.6601 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.48, allocations: 2.781 kB / 0.6601 GB, free: 9.352 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)