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.001546/0.001546, allocations: 104.1 kB / 15.88 MB, free: 4 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.001846/0.001846, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6683/0.6683, allocations: 115.3 MB / 406 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.62 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1247, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004826/0.1295, allocations: 3.164 MB / 0.5589 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1315, allocations: 0.9427 MB / 0.5598 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.132, allocations: 15.94 kB / 0.5599 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.1324, allocations: 43.58 kB / 0.5599 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.1327, allocations: 79.41 kB / 0.56 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.1333, allocations: 219.1 kB / 0.5602 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005746/0.1339, allocations: 0.5074 MB / 0.5607 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.1343, allocations: 239.3 kB / 0.5609 GB, free: 5.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.1346, allocations: 179.1 kB / 0.5611 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.1349, allocations: 186.9 kB / 0.5613 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.851e-05/0.135, allocations: 24 kB / 0.5613 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.241e-05/0.135, allocations: 24 kB / 0.5613 GB, free: 5.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.1351, allocations: 79.62 kB / 0.5614 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1353, allocations: 214.7 kB / 0.5616 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.1358, allocations: 0.5452 MB / 0.5621 GB, free: 4.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1358, allocations: 0 / 0.5621 GB, free: 4.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1358, allocations: 0 / 0.5621 GB, free: 4.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.1358, allocations: 0 / 0.5621 GB, free: 4.266 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.001236/0.1371, allocations: 0.7622 MB / 0.5629 GB, free: 3.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1371, allocations: 8.031 kB / 0.5629 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.731e-05/0.1372, allocations: 82.64 kB / 0.563 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.486e-05/0.1373, allocations: 60.28 kB / 0.563 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.1379, allocations: 408.6 kB / 0.5634 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1379, allocations: 29.38 kB / 0.5634 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.138, allocations: 36.38 kB / 0.5635 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.1386, allocations: 405.7 kB / 0.5638 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1387, allocations: 0 / 0.5638 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.1387, allocations: 16 kB / 0.5639 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1387, allocations: 12 kB / 0.5639 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.1393, allocations: 259.8 kB / 0.5641 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.141, allocations: 1.32 MB / 0.5654 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.1417, allocations: 315.5 kB / 0.5657 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.142, allocations: 140.8 kB / 0.5658 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.142, allocations: 0 / 0.5658 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.1424, allocations: 174 kB / 0.566 GB, free: 60 kB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.1424, allocations: 0 / 0.566 GB, free: 60 kB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008055/0.1433, allocations: 379.5 kB / 0.5664 GB, free: 15.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.1433, allocations: 85.11 kB / 0.5665 GB, free: 15.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.1437, allocations: 349.6 kB / 0.5668 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.1437, allocations: 37.7 kB / 0.5668 GB, free: 15.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.1439, allocations: 244.8 kB / 0.5671 GB, free: 14.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/0.144, allocations: 106.5 kB / 0.5672 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1441, allocations: 74.06 kB / 0.5672 GB, free: 14.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1443, allocations: 346.8 kB / 0.5676 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.1445, allocations: 104.6 kB / 0.5677 GB, free: 14.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.1448, allocations: 164.6 kB / 0.5678 GB, free: 14.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.1452, allocations: 260.5 kB / 0.5681 GB, free: 13.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1452, allocations: 3.938 kB / 0.5681 GB, free: 13.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006066/0.1459, allocations: 346.1 kB / 0.5684 GB, free: 13.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1459, allocations: 8 kB / 0.5684 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1459, allocations: 192 / 0.5684 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1459, allocations: 8 kB / 0.5684 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1462, allocations: 67.91 kB / 0.5685 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.1462, allocations: 7.984 kB / 0.5685 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.1464, allocations: 35.73 kB / 0.5685 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.1465, allocations: 12 kB / 0.5685 GB, free: 13.37 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.0001854/0.1467, allocations: 181.6 kB / 0.5687 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.1467, allocations: 43.53 kB / 0.5687 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.1468, allocations: 44.25 kB / 0.5688 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1468, allocations: 4 kB / 0.5688 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1468, allocations: 0 / 0.5688 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1468, allocations: 3.984 kB / 0.5688 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.148, allocations: 0.8028 MB / 0.5696 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.148, allocations: 7.984 kB / 0.5696 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.1482, allocations: 51.92 kB / 0.5696 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.1483, allocations: 0 / 0.5696 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.1483, allocations: 7.984 kB / 0.5696 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1483, allocations: 7.938 kB / 0.5697 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1483, allocations: 0 / 0.5697 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.1491, allocations: 0.5144 MB / 0.5702 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1493, allocations: 136.6 kB / 0.5703 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.1493, allocations: 8 kB / 0.5703 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.1495, allocations: 15.98 kB / 0.5703 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.1496, allocations: 27.95 kB / 0.5703 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1497, allocations: 8 kB / 0.5703 GB, free: 11.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002484/0.1499, allocations: 247.1 kB / 0.5706 GB, free: 11.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1499, allocations: 0 / 0.5706 GB, free: 11.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000355/0.1503, allocations: 87.75 kB / 0.5707 GB, free: 11.09 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.001081/0.1514, allocations: 1.056 MB / 0.5717 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005427/0.1519, allocations: 272 kB / 0.572 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1519, allocations: 3.938 kB / 0.572 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.1522, allocations: 135.8 kB / 0.5721 GB, free: 9.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.1527, allocations: 81.83 kB / 0.5722 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.1577, allocations: 3.645 MB / 0.5757 GB, free: 5.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.158, allocations: 0.8152 MB / 0.5765 GB, free: 4.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.1582, allocations: 43.27 kB / 0.5766 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.1584, allocations: 139.4 kB / 0.5767 GB, free: 4.738 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1584, allocations: 4 kB / 0.5767 GB, free: 4.734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2181/0.3765, allocations: 6.936 MB / 0.5835 GB, free: 31.02 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/0.3767, allocations: 218.3 kB / 0.5837 GB, free: 30.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.213, allocations: 1.125 kB / 0.5837 GB, free: 30.77 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)