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.0008136/0.0008136, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008205/0.0008206, allocations: 179.7 kB / 16.57 MB, free: 6.859 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.168/1.168, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5954/0.5954, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002525, allocations: 8 kB / 493 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1094, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001197/0.1107, allocations: 1.158 MB / 0.5578 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004924/0.1112, allocations: 411.4 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.1112, allocations: 4 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.1112, allocations: 7.922 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.1113, allocations: 3.984 kB / 0.5583 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.1114, allocations: 15.98 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.568e-05/0.1115, allocations: 35.89 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.927e-05/0.1115, allocations: 11.98 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.1116, allocations: 15.94 kB / 0.5583 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.1117, allocations: 11.92 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1117, allocations: 8 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.1117, allocations: 0 / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.1117, allocations: 15.97 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.1118, allocations: 33.7 kB / 0.5584 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.266e-05/0.1118, allocations: 24.22 kB / 0.5584 GB, free: 9.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1119, allocations: 0 / 0.5584 GB, free: 9.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1119, allocations: 0 / 0.5584 GB, free: 9.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1119, allocations: 3.938 kB / 0.5584 GB, free: 9.957 MB / 430.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.0004354/0.1123, allocations: 363.2 kB / 0.5588 GB, free: 9.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1123, allocations: 8.031 kB / 0.5588 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.1124, allocations: 34.55 kB / 0.5588 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.1124, allocations: 7.906 kB / 0.5588 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1125, allocations: 167 kB / 0.559 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1126, allocations: 4 kB / 0.559 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1126, allocations: 4 kB / 0.559 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1127, allocations: 65.5 kB / 0.559 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1127, allocations: 4 kB / 0.559 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1127, allocations: 4 kB / 0.5591 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1127, allocations: 0 / 0.5591 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/0.1128, allocations: 23.98 kB / 0.5591 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1132, allocations: 300.9 kB / 0.5594 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.64e-05/0.1133, allocations: 66.5 kB / 0.5594 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.1133, allocations: 0 / 0.5594 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.1134, allocations: 75.5 kB / 0.5595 GB, free: 8.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1135, allocations: 3.938 kB / 0.5595 GB, free: 8.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001811/0.1136, allocations: 97.67 kB / 0.5596 GB, free: 8.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1137, allocations: 55.34 kB / 0.5596 GB, free: 8.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.1138, allocations: 117.7 kB / 0.5598 GB, free: 8.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1138, allocations: 29.7 kB / 0.5598 GB, free: 8.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.1138, allocations: 84.14 kB / 0.5599 GB, free: 8.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1138, allocations: 27.64 kB / 0.5599 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.1139, allocations: 0 / 0.5599 GB, free: 8.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.1139, allocations: 314.8 kB / 0.5602 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/0.114, allocations: 15.98 kB / 0.5602 GB, free: 7.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/0.114, allocations: 51.42 kB / 0.5603 GB, free: 7.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.1141, allocations: 16 kB / 0.5603 GB, free: 7.824 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1141, allocations: 7.891 kB / 0.5603 GB, free: 7.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001185/0.1142, allocations: 93.55 kB / 0.5604 GB, free: 7.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1142, allocations: 9.562 kB / 0.5604 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1142, allocations: 3.984 kB / 0.5604 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1143, allocations: 4 kB / 0.5604 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.1143, allocations: 12.38 kB / 0.5604 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1143, allocations: 4.031 kB / 0.5604 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.1144, allocations: 15.89 kB / 0.5604 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1144, allocations: 0 / 0.5604 GB, free: 7.672 MB / 430.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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.1145, allocations: 126.4 kB / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1145, allocations: 3.953 kB / 0.5605 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.1145, allocations: 7.969 kB / 0.5606 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1145, allocations: 4 kB / 0.5606 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1145, allocations: 0 / 0.5606 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1146, allocations: 7.984 kB / 0.5606 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.1149, allocations: 366.4 kB / 0.5609 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1149, allocations: 0 / 0.5609 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.115, allocations: 4 kB / 0.5609 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.115, allocations: 0 / 0.5609 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.115, allocations: 4 kB / 0.5609 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.115, allocations: 0 / 0.5609 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.115, allocations: 4 kB / 0.5609 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.1151, allocations: 183.4 kB / 0.5611 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.1152, allocations: 84.95 kB / 0.5612 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1152, allocations: 0 / 0.5612 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.1153, allocations: 16.05 kB / 0.5612 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1153, allocations: 11.98 kB / 0.5612 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1153, allocations: 0 / 0.5612 GB, free: 6.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.1154, allocations: 87.5 kB / 0.5613 GB, free: 6.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1154, allocations: 0 / 0.5613 GB, free: 6.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.1156, allocations: 16 kB / 0.5613 GB, free: 6.664 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003376/0.1159, allocations: 0.7211 MB / 0.562 GB, free: 5.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.116, allocations: 59.91 kB / 0.5621 GB, free: 5.859 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1161, allocations: 0 / 0.5621 GB, free: 5.859 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.1161, allocations: 23.94 kB / 0.5621 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.1163, allocations: 11.98 kB / 0.5621 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008238/0.1171, allocations: 0.9394 MB / 0.563 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.1173, allocations: 0.6926 MB / 0.5637 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.223e-05/0.1174, allocations: 4 kB / 0.5637 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.1174, allocations: 19.42 kB / 0.5637 GB, free: 4.086 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1174, allocations: 3.938 kB / 0.5637 GB, free: 4.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.321/0.4384, allocations: 1.448 MB / 0.5651 GB, free: 2.754 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.4386, allocations: 172.3 kB / 0.5653 GB, free: 2.516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/1.885, allocations: 3.938 kB / 0.5653 GB, free: 2.512 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: