Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.00149/0.00149, allocations: 98.47 kB / 15.98 MB, free: 6.348 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.001734/0.001734, allocations: 195.4 kB / 16.91 MB, free: 6.191 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6976/0.6976, allocations: 115.3 MB / 406.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.53 kB / 493.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 76.19 MB / 0.556 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004009/0.1349, allocations: 3.153 MB / 0.5591 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1364, allocations: 0.9311 MB / 0.56 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1366, allocations: 15.94 kB / 0.56 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1368, allocations: 51.52 kB / 0.5601 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.137, allocations: 75.42 kB / 0.5602 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.1375, allocations: 222.5 kB / 0.5604 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.138, allocations: 0.5427 MB / 0.5609 GB, free: 5.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.1383, allocations: 259.4 kB / 0.5612 GB, free: 5.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1386, allocations: 203 kB / 0.5614 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.1388, allocations: 210.9 kB / 0.5616 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.1388, allocations: 52 kB / 0.5616 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.1389, allocations: 52 kB / 0.5617 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.139, allocations: 107.6 kB / 0.5618 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.1392, allocations: 242.7 kB / 0.562 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.1396, allocations: 0.5686 MB / 0.5625 GB, free: 3.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1396, allocations: 0 / 0.5625 GB, free: 3.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1396, allocations: 0 / 0.5625 GB, free: 3.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1396, allocations: 0 / 0.5625 GB, free: 3.953 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001069/0.1407, allocations: 0.766 MB / 0.5633 GB, free: 3.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1408, allocations: 12.03 kB / 0.5633 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.861e-05/0.1409, allocations: 78.7 kB / 0.5634 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.1409, allocations: 56.28 kB / 0.5634 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.1415, allocations: 408.6 kB / 0.5638 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.1415, allocations: 25.38 kB / 0.5638 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.1416, allocations: 44.38 kB / 0.5639 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.1422, allocations: 397.7 kB / 0.5643 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1422, allocations: 0 / 0.5643 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.1423, allocations: 16 kB / 0.5643 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1423, allocations: 15.94 kB / 0.5643 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/0.1428, allocations: 267.8 kB / 0.5646 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.1444, allocations: 1.324 MB / 0.5658 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.1451, allocations: 306.5 kB / 0.5661 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.1454, allocations: 140.8 kB / 0.5663 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.1454, allocations: 8 kB / 0.5663 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.1458, allocations: 166.1 kB / 0.5664 GB, free: 15.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.1458, allocations: 0 / 0.5664 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007904/0.1466, allocations: 387.5 kB / 0.5668 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.1467, allocations: 81.11 kB / 0.5669 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.1471, allocations: 353.6 kB / 0.5672 GB, free: 14.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.1471, allocations: 37.64 kB / 0.5673 GB, free: 14.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1473, allocations: 232.9 kB / 0.5675 GB, free: 14.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.1473, allocations: 110.5 kB / 0.5676 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1475, allocations: 70.06 kB / 0.5677 GB, free: 14.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1476, allocations: 346.8 kB / 0.568 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.1478, allocations: 104.7 kB / 0.5681 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.1481, allocations: 164.6 kB / 0.5682 GB, free: 13.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.1485, allocations: 260.4 kB / 0.5685 GB, free: 13.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-06/0.1485, allocations: 7.938 kB / 0.5685 GB, free: 13.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000581/0.1491, allocations: 346.2 kB / 0.5688 GB, free: 13.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1491, allocations: 8 kB / 0.5688 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1491, allocations: 0 / 0.5688 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1492, allocations: 4 kB / 0.5688 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.1495, allocations: 63.91 kB / 0.5689 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1495, allocations: 7.938 kB / 0.5689 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.1497, allocations: 43.91 kB / 0.5689 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.1497, allocations: 12 kB / 0.569 GB, free: 13.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 0.0001727/0.1499, allocations: 173.7 kB / 0.5691 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.15, allocations: 39.53 kB / 0.5692 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-05/0.1501, allocations: 44.25 kB / 0.5692 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1501, allocations: 4 kB / 0.5692 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1501, allocations: 0 / 0.5692 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1501, allocations: 7.984 kB / 0.5692 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1512, allocations: 0.8066 MB / 0.57 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1512, allocations: 0 / 0.57 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.1514, allocations: 47.91 kB / 0.57 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1515, allocations: 7.984 kB / 0.5701 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.1515, allocations: 7.984 kB / 0.5701 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1515, allocations: 8 kB / 0.5701 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1515, allocations: 0 / 0.5701 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.1523, allocations: 0.5105 MB / 0.5706 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1524, allocations: 136.5 kB / 0.5707 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.1525, allocations: 8 kB / 0.5707 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.1527, allocations: 24.05 kB / 0.5707 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.1527, allocations: 27.95 kB / 0.5708 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.1528, allocations: 8 kB / 0.5708 GB, free: 11.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.153, allocations: 255 kB / 0.571 GB, free: 10.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.153, allocations: 0 / 0.571 GB, free: 10.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.1534, allocations: 83.69 kB / 0.5711 GB, free: 10.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.001008/0.1544, allocations: 1.065 MB / 0.5721 GB, free: 9.684 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.155, allocations: 280 kB / 0.5724 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.155, allocations: 4.438 kB / 0.5724 GB, free: 9.406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.1552, allocations: 127.9 kB / 0.5725 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.1557, allocations: 78.17 kB / 0.5726 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.1602, allocations: 3.661 MB / 0.5762 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1606, allocations: 0.8113 MB / 0.577 GB, free: 4.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.1608, allocations: 43.27 kB / 0.577 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.161, allocations: 139.4 kB / 0.5771 GB, free: 4.414 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.161, allocations: 3.938 kB / 0.5771 GB, free: 4.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.22/0.381, allocations: 7.124 MB / 0.5841 GB, free: 32.08 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.3812, allocations: 220.2 kB / 0.5843 GB, free: 31.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.278, allocations: 0 / 0.5843 GB, free: 31.83 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)