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.0007174/0.0007175, allocations: 92.95 kB / 16.02 MB, free: 84 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.0007403/0.0007402, allocations: 183.7 kB / 16.92 MB, free: 6.934 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.248/1.248, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6371/0.6371, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 11.94 kB / 495.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 77.53 MB / 0.56 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001381/0.1171, allocations: 1.178 MB / 0.5612 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006054/0.1177, allocations: 419.1 kB / 0.5616 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.1177, allocations: 0 / 0.5616 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1178, allocations: 3.984 kB / 0.5616 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.1178, allocations: 11.94 kB / 0.5616 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.118, allocations: 19.98 kB / 0.5616 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.1181, allocations: 51.8 kB / 0.5617 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.1181, allocations: 15.97 kB / 0.5617 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.1182, allocations: 15.94 kB / 0.5617 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.1182, allocations: 19.91 kB / 0.5617 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1183, allocations: 4 kB / 0.5617 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.1183, allocations: 0 / 0.5617 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.1183, allocations: 4 kB / 0.5617 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.1184, allocations: 45.56 kB / 0.5618 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.16e-05/0.1184, allocations: 48.14 kB / 0.5618 GB, free: 7.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1184, allocations: 0 / 0.5618 GB, free: 7.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1185, allocations: 0 / 0.5618 GB, free: 7.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1185, allocations: 0 / 0.5618 GB, free: 7.121 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.0004167/0.1189, allocations: 359.4 kB / 0.5622 GB, free: 6.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1189, allocations: 8.031 kB / 0.5622 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.119, allocations: 38.69 kB / 0.5622 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.119, allocations: 12.84 kB / 0.5622 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1191, allocations: 172.3 kB / 0.5624 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1191, allocations: 4.359 kB / 0.5624 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1191, allocations: 4.375 kB / 0.5624 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.1192, allocations: 57.81 kB / 0.5624 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1192, allocations: 0 / 0.5624 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1193, allocations: 7.938 kB / 0.5624 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.1193, allocations: 0 / 0.5624 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.655e-05/0.1193, allocations: 27.92 kB / 0.5625 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.1198, allocations: 308.7 kB / 0.5628 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.37e-05/0.1199, allocations: 58.59 kB / 0.5628 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.1199, allocations: 28.94 kB / 0.5629 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-06/0.1199, allocations: 3.938 kB / 0.5629 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.1201, allocations: 67.39 kB / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1201, allocations: 0 / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001908/0.1203, allocations: 97.61 kB / 0.563 GB, free: 5.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1203, allocations: 63.34 kB / 0.5631 GB, free: 5.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.506e-05/0.1204, allocations: 109.8 kB / 0.5632 GB, free: 5.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1204, allocations: 29.7 kB / 0.5632 GB, free: 5.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.1205, allocations: 88.12 kB / 0.5633 GB, free: 5.395 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1205, allocations: 27.64 kB / 0.5633 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.1205, allocations: 17.72 kB / 0.5633 GB, free: 5.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.1206, allocations: 326.8 kB / 0.5636 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.1207, allocations: 12 kB / 0.5637 GB, free: 5.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-05/0.1207, allocations: 51.44 kB / 0.5637 GB, free: 4.945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.121e-05/0.1208, allocations: 71.34 kB / 0.5638 GB, free: 4.863 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1208, allocations: 4 kB / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001294/0.1209, allocations: 85.62 kB / 0.5639 GB, free: 4.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.121, allocations: 10.02 kB / 0.5639 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.121, allocations: 0 / 0.5639 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.121, allocations: 4 kB / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.121, allocations: 11.94 kB / 0.5639 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1211, allocations: 0 / 0.5639 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.1211, allocations: 19.92 kB / 0.5639 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1212, allocations: 11.94 kB / 0.5639 GB, free: 4.715 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,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.095e-05/0.1212, allocations: 116.2 kB / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.1213, allocations: 4 kB / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.1213, allocations: 7.969 kB / 0.564 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1213, allocations: 3.938 kB / 0.564 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1213, allocations: 64 / 0.564 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1213, allocations: 4.375 kB / 0.564 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.1217, allocations: 378.2 kB / 0.5644 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1217, allocations: 0 / 0.5644 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.1217, allocations: 4 kB / 0.5644 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1217, allocations: 0 / 0.5644 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1217, allocations: 0 / 0.5644 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1217, allocations: 3.938 kB / 0.5644 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1217, allocations: 0 / 0.5644 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.1219, allocations: 183.5 kB / 0.5646 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.1219, allocations: 88.95 kB / 0.5647 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.122, allocations: 4 kB / 0.5647 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.1221, allocations: 11.92 kB / 0.5647 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1221, allocations: 7.984 kB / 0.5647 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1221, allocations: 4 kB / 0.5647 GB, free: 3.812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.1221, allocations: 87.38 kB / 0.5648 GB, free: 3.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1222, allocations: 0 / 0.5648 GB, free: 3.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.1224, allocations: 12 kB / 0.5648 GB, free: 3.715 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 (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.0003542/0.1227, allocations: 0.7164 MB / 0.5655 GB, free: 2.973 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1229, allocations: 63.83 kB / 0.5656 GB, free: 2.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1229, allocations: 4.344 kB / 0.5656 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.727e-05/0.1229, allocations: 27.92 kB / 0.5656 GB, free: 2.879 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1232, allocations: 15.92 kB / 0.5656 GB, free: 2.863 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1243, allocations: 1.384 MB / 0.567 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.1245, allocations: 0.6887 MB / 0.5676 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.856e-05/0.1246, allocations: 4 kB / 0.5676 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.1246, allocations: 19.42 kB / 0.5676 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1246, allocations: 4 kB / 0.5677 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.1432, allocations: 1.442 MB / 0.5691 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.1435, allocations: 203.2 kB / 0.5693 GB, free: 15.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.687, allocations: 0 / 0.5693 GB, free: 15.05 MB / 446.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/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)