Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007988/0.0007988, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008185/0.0008185, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9078/0.9078, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5424/0.5424, allocations: 110.2 MB / 369.4 MB, free: 12.63 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.5472 GB, free: 8.793 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.126e-05, allocations: 2.281 kB / 0.5472 GB, free: 8.789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003379/0.0034, allocations: 2.943 MB / 0.5501 GB, free: 5.824 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.004926, allocations: 1.001 MB / 0.5511 GB, free: 4.816 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.005205, allocations: 19.88 kB / 0.5511 GB, free: 4.797 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.005443, allocations: 79.19 kB / 0.5512 GB, free: 4.719 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.005605, allocations: 99.11 kB / 0.5513 GB, free: 4.621 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.006137, allocations: 255.4 kB / 0.5515 GB, free: 4.371 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000594/0.006731, allocations: 0.5699 MB / 0.5521 GB, free: 3.801 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.007017, allocations: 167.9 kB / 0.5522 GB, free: 3.633 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.007376, allocations: 315.2 kB / 0.5525 GB, free: 3.324 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.007536, allocations: 143.5 kB / 0.5527 GB, free: 3.184 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.007586, allocations: 56 kB / 0.5527 GB, free: 3.129 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.007659, allocations: 56 kB / 0.5528 GB, free: 3.074 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.00772, allocations: 115.5 kB / 0.5529 GB, free: 2.961 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.00782, allocations: 147.6 kB / 0.553 GB, free: 2.816 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.008388, allocations: 0.6346 MB / 0.5537 GB, free: 2.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.008394, allocations: 0 / 0.5537 GB, free: 2.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008396, allocations: 0 / 0.5537 GB, free: 2.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.008404, allocations: 0 / 0.5537 GB, free: 2.18 MB / 474.7 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.0009136/0.009317, allocations: 0.7058 MB / 0.5544 GB, free: 1.445 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.009361, allocations: 8.031 kB / 0.5544 GB, free: 1.438 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.225e-05/0.009423, allocations: 74.72 kB / 0.5544 GB, free: 1.355 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.009581, allocations: 68.53 kB / 0.5545 GB, free: 1.289 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.01013, allocations: 376.9 kB / 0.5549 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.01016, allocations: 29.38 kB / 0.5549 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.0102, allocations: 36.38 kB / 0.5549 GB, free: 0.832 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.01067, allocations: 445.5 kB / 0.5553 GB, free: 376 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.01069, allocations: 4.172 kB / 0.5553 GB, free: 372 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.01072, allocations: 20.12 kB / 0.5554 GB, free: 352 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.01073, allocations: 8 kB / 0.5554 GB, free: 344 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.01109, allocations: 271.8 kB / 0.5556 GB, free: 72 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.0123, allocations: 1.115 MB / 0.5567 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.0128, allocations: 295.8 kB / 0.557 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.01296, allocations: 129.8 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.01299, allocations: 7.938 kB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.01323, allocations: 174.5 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.01323, allocations: 4 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005393/0.01377, allocations: 386.9 kB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.01382, allocations: 85.09 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.01409, allocations: 353.6 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.01411, allocations: 37.7 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.01424, allocations: 240.7 kB / 0.5584 GB, free: 13.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.0143, allocations: 107.1 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.01438, allocations: 78.02 kB / 0.5585 GB, free: 12.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.01463, allocations: 350.8 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.01477, allocations: 100.7 kB / 0.559 GB, free: 12.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.01496, allocations: 190.3 kB / 0.5591 GB, free: 12.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.01525, allocations: 256.5 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01525, allocations: 0 / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003852/0.01564, allocations: 354.6 kB / 0.5597 GB, free: 11.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.01565, allocations: 8 kB / 0.5597 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01566, allocations: 0 / 0.5597 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01568, allocations: 4.188 kB / 0.5597 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.01584, allocations: 67.91 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.01584, allocations: 7.938 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.01596, allocations: 39.72 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.01598, allocations: 19.98 kB / 0.5599 GB, free: 11.53 MB / 490.7 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.0001616/0.01614, allocations: 183.4 kB / 0.56 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.01617, allocations: 43.7 kB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/0.01624, allocations: 40.25 kB / 0.5601 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01625, allocations: 8 kB / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.01625, allocations: 0 / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01626, allocations: 3.984 kB / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.01705, allocations: 0.7332 MB / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01705, allocations: 3.984 kB / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.01719, allocations: 43.98 kB / 0.5609 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01719, allocations: 0 / 0.5609 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.01721, allocations: 11.97 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01721, allocations: 4 kB / 0.5609 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01721, allocations: 7.938 kB / 0.5609 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.01776, allocations: 0.5201 MB / 0.5614 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.01784, allocations: 59.62 kB / 0.5615 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.01788, allocations: 8 kB / 0.5615 GB, free: 9.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.01797, allocations: 19.98 kB / 0.5615 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.01804, allocations: 27.95 kB / 0.5615 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01805, allocations: 7.984 kB / 0.5615 GB, free: 9.738 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.01822, allocations: 251.2 kB / 0.5618 GB, free: 9.496 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01822, allocations: 0 / 0.5618 GB, free: 9.496 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000247/0.01847, allocations: 83.78 kB / 0.5619 GB, free: 9.414 MB / 490.7 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.0008152/0.01928, allocations: 1.071 MB / 0.5629 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.01969, allocations: 253 kB / 0.5632 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.0197, allocations: 0 / 0.5632 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.01986, allocations: 127.8 kB / 0.5633 GB, free: 7.941 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.02029, allocations: 82.62 kB / 0.5634 GB, free: 7.867 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.02404, allocations: 3.443 MB / 0.5667 GB, free: 4.309 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.0242, allocations: 215.8 kB / 0.5669 GB, free: 4.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.02436, allocations: 47.27 kB / 0.567 GB, free: 4.027 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.02452, allocations: 140.5 kB / 0.5671 GB, free: 3.891 MB / 490.7 MB Notification: Performance of SimCode: time 1.422e-06/0.02452, allocations: 0 / 0.5671 GB, free: 3.891 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.04959, allocations: 8.45 MB / 0.5754 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.082, allocations: 4 kB / 0.5754 GB, free: 11.67 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.559197318740189] Failed to read output from testmodel.py, exit status != 0: 7.167289771139622 7.176312154 7.166064038 Calling exit ...