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.001603/0.001604, allocations: 100.1 kB / 15.88 MB, free: 12 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.001234/0.001234, allocations: 209.6 kB / 16.79 MB, free: 6.84 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6807/0.6807, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 68.47 kB / 493 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1288, allocations: 76.19 MB / 0.5558 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004242/0.1331, allocations: 2.998 MB / 0.5588 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1348, allocations: 0.8885 MB / 0.5596 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.1351, allocations: 11.94 kB / 0.5597 GB, free: 6.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1354, allocations: 43.58 kB / 0.5597 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1357, allocations: 71.44 kB / 0.5598 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.1362, allocations: 199.9 kB / 0.56 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004986/0.1367, allocations: 455.2 kB / 0.5604 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.1371, allocations: 205.2 kB / 0.5606 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1373, allocations: 159.1 kB / 0.5607 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1375, allocations: 155.1 kB / 0.5609 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.1376, allocations: 20 kB / 0.5609 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.678e-05/0.1376, allocations: 24 kB / 0.5609 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.1377, allocations: 67.64 kB / 0.561 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1379, allocations: 186.8 kB / 0.5612 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.1383, allocations: 486.5 kB / 0.5616 GB, free: 4.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1383, allocations: 0 / 0.5616 GB, free: 4.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1383, allocations: 0 / 0.5616 GB, free: 4.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.1383, allocations: 3.938 kB / 0.5616 GB, free: 4.816 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.001069/0.1394, allocations: 0.7167 MB / 0.5623 GB, free: 4.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1394, allocations: 8.031 kB / 0.5623 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.963e-05/0.1395, allocations: 62.73 kB / 0.5624 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.1396, allocations: 44.38 kB / 0.5624 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.1401, allocations: 388.4 kB / 0.5628 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.1402, allocations: 29.03 kB / 0.5628 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.1402, allocations: 28.38 kB / 0.5629 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.1408, allocations: 341.2 kB / 0.5632 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1408, allocations: 7.984 kB / 0.5632 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.1409, allocations: 8 kB / 0.5632 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.1409, allocations: 12 kB / 0.5632 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.1414, allocations: 218.1 kB / 0.5634 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1429, allocations: 1.178 MB / 0.5646 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.1434, allocations: 238.7 kB / 0.5648 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.1437, allocations: 114.6 kB / 0.5649 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1437, allocations: 4 kB / 0.5649 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1437, allocations: 34.88 kB / 0.565 GB, free: 1.199 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.1437, allocations: 4 kB / 0.565 GB, free: 1.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006593/0.1444, allocations: 300.9 kB / 0.5652 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.1445, allocations: 106.8 kB / 0.5653 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.1448, allocations: 337.6 kB / 0.5657 GB, free: 444 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1448, allocations: 33.7 kB / 0.5657 GB, free: 404 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.145, allocations: 216.2 kB / 0.5659 GB, free: 184 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.1451, allocations: 82.91 kB / 0.566 GB, free: 100 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.1451, allocations: 45.7 kB / 0.566 GB, free: 48 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1453, allocations: 346.9 kB / 0.5664 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1455, allocations: 75.91 kB / 0.5664 GB, free: 15.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.1457, allocations: 139.7 kB / 0.5666 GB, free: 15.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.1461, allocations: 220.4 kB / 0.5668 GB, free: 15.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.1461, allocations: 3.938 kB / 0.5668 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005156/0.1466, allocations: 280.5 kB / 0.567 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1467, allocations: 5.875 kB / 0.5671 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1467, allocations: 0 / 0.5671 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1467, allocations: 8.188 kB / 0.5671 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1469, allocations: 51.91 kB / 0.5671 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1469, allocations: 7.938 kB / 0.5671 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.1471, allocations: 35.77 kB / 0.5671 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.1472, allocations: 8 kB / 0.5672 GB, free: 14.83 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: 3 (con.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.1473, allocations: 165.7 kB / 0.5673 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.1474, allocations: 43.47 kB / 0.5674 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.1475, allocations: 39.36 kB / 0.5674 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1475, allocations: 3.984 kB / 0.5674 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1475, allocations: 4 kB / 0.5674 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1475, allocations: 0 / 0.5674 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.148, allocations: 397.2 kB / 0.5678 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.148, allocations: 0 / 0.5678 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.1482, allocations: 47.97 kB / 0.5678 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1482, allocations: 4 kB / 0.5678 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.1482, allocations: 4 kB / 0.5678 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1483, allocations: 4 kB / 0.5678 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1483, allocations: 0 / 0.5678 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/0.149, allocations: 424.6 kB / 0.5682 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1491, allocations: 140.5 kB / 0.5684 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1491, allocations: 4 kB / 0.5684 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1493, allocations: 16.05 kB / 0.5684 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.1494, allocations: 23.97 kB / 0.5684 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1494, allocations: 4 kB / 0.5684 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.1497, allocations: 239.2 kB / 0.5687 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1497, allocations: 0 / 0.5687 GB, free: 13.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.15, allocations: 63.84 kB / 0.5687 GB, free: 13.14 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 (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.0009236/0.1509, allocations: 0.9638 MB / 0.5697 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.1514, allocations: 196.2 kB / 0.5698 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1514, allocations: 8 kB / 0.5698 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.1516, allocations: 99.89 kB / 0.5699 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.1522, allocations: 67.8 kB / 0.57 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.1565, allocations: 3.274 MB / 0.5732 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1569, allocations: 0.7989 MB / 0.574 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.157, allocations: 38.91 kB / 0.574 GB, free: 7.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.1572, allocations: 127 kB / 0.5741 GB, free: 7.422 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1572, allocations: 3.938 kB / 0.5741 GB, free: 7.418 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.1745, allocations: 6.214 MB / 0.5802 GB, free: 1.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.1748, allocations: 217.4 kB / 0.5804 GB, free: 1.078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.046, allocations: 8 kB / 0.5804 GB, free: 1.07 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/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)