Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.0007005/0.0007004, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007244/0.0007245, allocations: 173.4 kB / 16.58 MB, free: 5.656 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.176/1.176, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.608/0.608, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 12.88 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00273/0.1312, allocations: 2.508 MB / 0.5593 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1326, allocations: 0.8382 MB / 0.5602 GB, free: 8.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.1328, allocations: 11.94 kB / 0.5602 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.133, allocations: 43.58 kB / 0.5602 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1332, allocations: 75.41 kB / 0.5603 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1336, allocations: 145.1 kB / 0.5604 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.1341, allocations: 431.3 kB / 0.5608 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1343, allocations: 161 kB / 0.561 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1345, allocations: 119.3 kB / 0.5611 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1347, allocations: 123.2 kB / 0.5612 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.1347, allocations: 15.98 kB / 0.5612 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-05/0.1348, allocations: 15.94 kB / 0.5613 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.1348, allocations: 51.7 kB / 0.5613 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.1349, allocations: 89.52 kB / 0.5614 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1352, allocations: 383.2 kB / 0.5618 GB, free: 6.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.1352, allocations: 0 / 0.5618 GB, free: 6.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1352, allocations: 7.875 kB / 0.5618 GB, free: 6.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1352, allocations: 0 / 0.5618 GB, free: 6.66 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009389/0.1362, allocations: 0.6428 MB / 0.5624 GB, free: 5.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1362, allocations: 12.03 kB / 0.5624 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.305e-05/0.1363, allocations: 66.53 kB / 0.5625 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.1364, allocations: 47.44 kB / 0.5625 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.1369, allocations: 375.3 kB / 0.5629 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1369, allocations: 24.66 kB / 0.5629 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.137, allocations: 28 kB / 0.5629 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.1375, allocations: 341.1 kB / 0.5632 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1375, allocations: 4 kB / 0.5632 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.1376, allocations: 12 kB / 0.5633 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1376, allocations: 11.98 kB / 0.5633 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.138, allocations: 214.1 kB / 0.5635 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1393, allocations: 1.201 MB / 0.5646 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.1398, allocations: 243.2 kB / 0.5649 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.14, allocations: 115.7 kB / 0.565 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.14, allocations: 192 / 0.565 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.14, allocations: 38.75 kB / 0.565 GB, free: 3.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 9.82e-07/0.14, allocations: 0 / 0.565 GB, free: 3.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.000568/0.1406, allocations: 298.4 kB / 0.5653 GB, free: 2.801 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1407, allocations: 106.8 kB / 0.5654 GB, free: 2.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.141, allocations: 337.5 kB / 0.5657 GB, free: 2.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.141, allocations: 33.7 kB / 0.5658 GB, free: 2.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1411, allocations: 220.2 kB / 0.566 GB, free: 2.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.1412, allocations: 70.91 kB / 0.566 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.1412, allocations: 8 kB / 0.5661 GB, free: 2.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.1413, allocations: 350.8 kB / 0.5664 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1415, allocations: 75.97 kB / 0.5665 GB, free: 1.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.1417, allocations: 147.7 kB / 0.5666 GB, free: 1.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1419, allocations: 100.2 kB / 0.5667 GB, free: 1.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1419, allocations: 7.953 kB / 0.5667 GB, free: 1.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004228/0.1423, allocations: 281 kB / 0.567 GB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1423, allocations: 4 kB / 0.567 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.1423, allocations: 4 kB / 0.567 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1424, allocations: 4 kB / 0.567 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.1426, allocations: 55.91 kB / 0.567 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1426, allocations: 8.188 kB / 0.567 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.1427, allocations: 39.67 kB / 0.5671 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1428, allocations: 8 kB / 0.5671 GB, free: 0.9023 MB / 430.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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 0.0001362/0.1429, allocations: 157.8 kB / 0.5672 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.143, allocations: 35.58 kB / 0.5673 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.978e-05/0.1431, allocations: 47.34 kB / 0.5673 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1431, allocations: 4 kB / 0.5673 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1431, allocations: 0 / 0.5673 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1431, allocations: 0 / 0.5673 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.1434, allocations: 397.2 kB / 0.5677 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1434, allocations: 0 / 0.5677 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.1436, allocations: 43.88 kB / 0.5677 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1437, allocations: 3.984 kB / 0.5677 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.1437, allocations: 12 kB / 0.5678 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1437, allocations: 3.984 kB / 0.5678 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1437, allocations: 4 kB / 0.5678 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.1443, allocations: 427 kB / 0.5682 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.1444, allocations: 120.7 kB / 0.5683 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.1444, allocations: 15.89 kB / 0.5683 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1446, allocations: 31.92 kB / 0.5683 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.1447, allocations: 15.97 kB / 0.5683 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1447, allocations: 4 kB / 0.5684 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.1449, allocations: 243.2 kB / 0.5686 GB, free: 15.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1449, allocations: 0 / 0.5686 GB, free: 15.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.1452, allocations: 67.75 kB / 0.5686 GB, free: 15.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0007878/0.146, allocations: 0.9604 MB / 0.5696 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.1464, allocations: 201.5 kB / 0.5698 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1464, allocations: 0 / 0.5698 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1466, allocations: 99.84 kB / 0.5699 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.147, allocations: 81.69 kB / 0.57 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.1498, allocations: 2.038 MB / 0.5719 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1501, allocations: 0.7875 MB / 0.5727 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.1502, allocations: 34.97 kB / 0.5727 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.1504, allocations: 119.4 kB / 0.5729 GB, free: 10.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1504, allocations: 0 / 0.5729 GB, free: 10.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.1661, allocations: 6.213 MB / 0.5789 GB, free: 4.746 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.1662, allocations: 193.6 kB / 0.5791 GB, free: 4.512 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.718, allocations: 0 / 0.5791 GB, free: 4.512 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) Environment - environmentSimulation: