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.00142/0.00142, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.00155/0.00155, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7473/0.7473, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.72 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1443, allocations: 76.18 MB / 0.6315 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.00259/0.1469, allocations: 1.451 MB / 0.633 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.1477, allocations: 439 kB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.1478, allocations: 3.938 kB / 0.6334 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.1478, allocations: 11.98 kB / 0.6334 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.1479, allocations: 7.875 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.1481, allocations: 19.92 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.864e-05/0.1482, allocations: 51.84 kB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.1483, allocations: 15.97 kB / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.1483, allocations: 15.94 kB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.1484, allocations: 27.91 kB / 0.6335 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1484, allocations: 4 kB / 0.6335 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.1484, allocations: 8 kB / 0.6335 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.1485, allocations: 7.984 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.1485, allocations: 23.88 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1486, allocations: 54.61 kB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1486, allocations: 3.938 kB / 0.6336 GB, free: 2.793 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1486, allocations: 0 / 0.6336 GB, free: 2.793 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1487, allocations: 0 / 0.6336 GB, free: 2.793 MB / 478.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.0004976/0.1492, allocations: 356.3 kB / 0.634 GB, free: 2.398 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1492, allocations: 8.031 kB / 0.634 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.1493, allocations: 38.75 kB / 0.634 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1493, allocations: 8.844 kB / 0.634 GB, free: 2.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1494, allocations: 176.3 kB / 0.6342 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1495, allocations: 4.375 kB / 0.6342 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.1495, allocations: 4.375 kB / 0.6342 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1496, allocations: 61.75 kB / 0.6343 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1496, allocations: 0 / 0.6343 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1496, allocations: 0 / 0.6343 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1497, allocations: 0 / 0.6343 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.1497, allocations: 31.97 kB / 0.6343 GB, free: 2.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.1502, allocations: 300.7 kB / 0.6346 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1503, allocations: 54.56 kB / 0.6346 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.1504, allocations: 32.88 kB / 0.6347 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.1504, allocations: 0 / 0.6347 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.1506, allocations: 75.42 kB / 0.6347 GB, free: 1.492 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1506, allocations: 0 / 0.6347 GB, free: 1.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002248/0.1509, allocations: 101.5 kB / 0.6348 GB, free: 1.387 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1509, allocations: 59.39 kB / 0.6349 GB, free: 1.316 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.151, allocations: 101.8 kB / 0.635 GB, free: 1.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.151, allocations: 33.7 kB / 0.635 GB, free: 1.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.1511, allocations: 84.08 kB / 0.6351 GB, free: 1.082 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1511, allocations: 27.64 kB / 0.6351 GB, free: 1.055 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.1511, allocations: 29.72 kB / 0.6352 GB, free: 1.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.1512, allocations: 322.8 kB / 0.6355 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.418e-05/0.1513, allocations: 16 kB / 0.6355 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.152e-05/0.1513, allocations: 47.36 kB / 0.6355 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.879e-05/0.1514, allocations: 75.36 kB / 0.6356 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1514, allocations: 0 / 0.6356 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001365/0.1516, allocations: 93.75 kB / 0.6357 GB, free: 448 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1516, allocations: 8 kB / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1516, allocations: 3.938 kB / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1516, allocations: 4.031 kB / 0.6357 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.1517, allocations: 8 kB / 0.6357 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1517, allocations: 4 kB / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.1518, allocations: 11.98 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1518, allocations: 11.97 kB / 0.6357 GB, free: 396 kB / 478.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 8.242e-05/0.1519, allocations: 122.3 kB / 0.6358 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.1519, allocations: 4 kB / 0.6358 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.152, allocations: 7.969 kB / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.152, allocations: 0 / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.152, allocations: 384 / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.152, allocations: 3.984 kB / 0.6359 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1524, allocations: 370.2 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1524, allocations: 4 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.1524, allocations: 4 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1525, allocations: 0 / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1525, allocations: 4 kB / 0.6362 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1525, allocations: 3.938 kB / 0.6362 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1525, allocations: 0 / 0.6362 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.1526, allocations: 183.4 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.1527, allocations: 81.11 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1527, allocations: 4 kB / 0.6365 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.1528, allocations: 11.92 kB / 0.6365 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1529, allocations: 7.984 kB / 0.6365 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1529, allocations: 4 kB / 0.6365 GB, free: 15.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.837e-05/0.1529, allocations: 79.28 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1529, allocations: 4 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1532, allocations: 12 kB / 0.6366 GB, free: 15.39 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.0004455/0.1536, allocations: 0.7187 MB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.1538, allocations: 64.19 kB / 0.6374 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1538, allocations: 0 / 0.6374 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.1538, allocations: 23.94 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1541, allocations: 21.45 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1555, allocations: 1.379 MB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1557, allocations: 0.6846 MB / 0.6394 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.1558, allocations: 4 kB / 0.6394 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.1558, allocations: 23.42 kB / 0.6394 GB, free: 12.33 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1558, allocations: 0 / 0.6394 GB, free: 12.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.1755, allocations: 1.775 MB / 0.6412 GB, free: 10.63 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.645, allocations: 6.891 kB / 0.6412 GB, free: 10.62 MB / 494.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)