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.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.0007924/0.0007924, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009297/0.0009297, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8793/0.8793, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5733/0.5733, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.5541 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.841e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003142/0.00316, allocations: 2.955 MB / 0.557 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.00441, allocations: 1.001 MB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.004617, allocations: 19.88 kB / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.004822, allocations: 75.25 kB / 0.5581 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.004964, allocations: 99.06 kB / 0.5582 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.005366, allocations: 258.1 kB / 0.5584 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.005738, allocations: 0.5698 MB / 0.559 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.005982, allocations: 175.9 kB / 0.5592 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.006258, allocations: 315.2 kB / 0.5595 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.006402, allocations: 143.5 kB / 0.5596 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.006447, allocations: 52 kB / 0.5597 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.006516, allocations: 56 kB / 0.5597 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.006578, allocations: 115.5 kB / 0.5598 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.00667, allocations: 147.6 kB / 0.56 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.007162, allocations: 0.6035 MB / 0.5605 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.007163, allocations: 0 / 0.5605 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/0.007165, allocations: 0 / 0.5605 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.00717, allocations: 0 / 0.5605 GB, free: 12.21 MB / 0.5261 GB 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.0007785/0.007949, allocations: 0.7072 MB / 0.5612 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.007987, allocations: 8.625 kB / 0.5612 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.008046, allocations: 78.7 kB / 0.5613 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.008167, allocations: 64.56 kB / 0.5614 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.008593, allocations: 372.9 kB / 0.5617 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.008617, allocations: 29.38 kB / 0.5618 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.008659, allocations: 36.38 kB / 0.5618 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.009086, allocations: 449.5 kB / 0.5622 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.009099, allocations: 192 / 0.5622 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.009125, allocations: 24.12 kB / 0.5623 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.009132, allocations: 8 kB / 0.5623 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.009484, allocations: 263.8 kB / 0.5625 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.01056, allocations: 1.107 MB / 0.5636 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.011, allocations: 291.1 kB / 0.5639 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.01115, allocations: 129.4 kB / 0.564 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.01117, allocations: 4 kB / 0.564 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.01138, allocations: 185.4 kB / 0.5642 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.01139, allocations: 3.938 kB / 0.5642 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.0005143/0.0119, allocations: 390.8 kB / 0.5646 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.01194, allocations: 85.09 kB / 0.5646 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.01218, allocations: 353.6 kB / 0.565 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.0122, allocations: 41.69 kB / 0.565 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01231, allocations: 236.7 kB / 0.5652 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.01237, allocations: 107.1 kB / 0.5653 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.01245, allocations: 74.06 kB / 0.5654 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.01254, allocations: 346.8 kB / 0.5657 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.01267, allocations: 104.6 kB / 0.5658 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.01284, allocations: 190.3 kB / 0.566 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.01311, allocations: 251.9 kB / 0.5663 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01311, allocations: 0 / 0.5663 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003761/0.01349, allocations: 363.2 kB / 0.5666 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.0135, allocations: 12.19 kB / 0.5666 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01351, allocations: 0 / 0.5666 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.01352, allocations: 4 kB / 0.5666 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01366, allocations: 63.91 kB / 0.5667 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01367, allocations: 7.984 kB / 0.5667 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.01376, allocations: 39.7 kB / 0.5667 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.01378, allocations: 16 kB / 0.5667 GB, free: 5.574 MB / 0.5261 GB 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.0001245/0.0139, allocations: 174.9 kB / 0.5669 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.01393, allocations: 47.7 kB / 0.567 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.01399, allocations: 40.25 kB / 0.567 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01399, allocations: 4 kB / 0.567 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.014, allocations: 4 kB / 0.567 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.014, allocations: 3.984 kB / 0.567 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.01475, allocations: 0.7322 MB / 0.5677 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01475, allocations: 0 / 0.5677 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.01488, allocations: 47.92 kB / 0.5678 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01488, allocations: 4 kB / 0.5678 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.01489, allocations: 7.984 kB / 0.5678 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01489, allocations: 4 kB / 0.5678 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01489, allocations: 0 / 0.5678 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.01541, allocations: 0.5327 MB / 0.5683 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.01548, allocations: 55.67 kB / 0.5684 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.01551, allocations: 8 kB / 0.5684 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.0156, allocations: 15.98 kB / 0.5684 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.01565, allocations: 32.02 kB / 0.5684 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.01566, allocations: 7.984 kB / 0.5684 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001554/0.01582, allocations: 247.2 kB / 0.5687 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01582, allocations: 0 / 0.5687 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002193/0.01603, allocations: 91.67 kB / 0.5687 GB, free: 3.457 MB / 0.5261 GB 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.0006993/0.01673, allocations: 1.061 MB / 0.5698 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.01706, allocations: 247.8 kB / 0.57 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01707, allocations: 4 kB / 0.57 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.01721, allocations: 132.3 kB / 0.5701 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.01754, allocations: 87 kB / 0.5702 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.02051, allocations: 3.44 MB / 0.5736 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.02065, allocations: 211.8 kB / 0.5738 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.02076, allocations: 47.25 kB / 0.5738 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.02092, allocations: 144.5 kB / 0.574 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of SimCode: time 6.32e-07/0.02092, allocations: 0 / 0.574 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.04749, allocations: 8.44 MB / 0.5822 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.065, allocations: 6.516 kB / 0.5822 GB, free: 5.738 MB / 0.5417 GB " [Timeout remaining time 653] (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 --stepSize=34.56 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.50623369216919] Failed to read output from testmodel.py, exit status != 0: 7.146843533031642 7.157924476 7.149086441 Calling exit ...