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.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.0008827/0.0008827, 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.0009632/0.0009632, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.9275/0.9275, 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.5794/0.5794, allocations: 114 MB / 373.9 MB, free: 8.695 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5541 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.842e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003004/0.003022, allocations: 2.812 MB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.004506, allocations: 0.935 MB / 0.5578 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.004729, allocations: 23.81 kB / 0.5578 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.004926, allocations: 63.39 kB / 0.5579 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.005068, allocations: 107 kB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.005528, allocations: 222.7 kB / 0.5582 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.005911, allocations: 0.5029 MB / 0.5587 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.006138, allocations: 146.2 kB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.00643, allocations: 275.2 kB / 0.5591 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.006565, allocations: 123.5 kB / 0.5592 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.006604, allocations: 44 kB / 0.5593 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.006664, allocations: 56 kB / 0.5593 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.006708, allocations: 87.67 kB / 0.5594 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.006784, allocations: 127.6 kB / 0.5595 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.007194, allocations: 0.5256 MB / 0.56 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007197, allocations: 0 / 0.56 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.112e-06/0.007198, allocations: 0 / 0.56 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.007204, allocations: 0 / 0.56 GB, free: 12.73 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008433/0.008048, allocations: 0.645 MB / 0.5607 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.008083, allocations: 8.031 kB / 0.5607 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.00814, allocations: 70.72 kB / 0.5607 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.008266, allocations: 60.64 kB / 0.5608 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/0.009018, allocations: 352.5 kB / 0.5611 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.009043, allocations: 25.03 kB / 0.5612 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.009088, allocations: 32.31 kB / 0.5612 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.009546, allocations: 411 kB / 0.5616 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.009559, allocations: 192 / 0.5616 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.009584, allocations: 16.12 kB / 0.5616 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.009592, allocations: 8 kB / 0.5616 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.009891, allocations: 218.5 kB / 0.5618 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.01102, allocations: 1.012 MB / 0.5628 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.01145, allocations: 226.7 kB / 0.563 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.01159, allocations: 101.8 kB / 0.5631 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.01162, allocations: 4 kB / 0.5631 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.01165, allocations: 38.55 kB / 0.5632 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.01165, allocations: 0 / 0.5632 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.0004794/0.01213, allocations: 296.2 kB / 0.5634 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.01219, allocations: 114.8 kB / 0.5635 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.01247, allocations: 341.7 kB / 0.5639 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.0125, allocations: 29.7 kB / 0.5639 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.01263, allocations: 228.5 kB / 0.5641 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.01268, allocations: 75.31 kB / 0.5642 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.01275, allocations: 61.66 kB / 0.5642 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01286, allocations: 346.8 kB / 0.5646 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.01298, allocations: 71.97 kB / 0.5646 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.01314, allocations: 203 kB / 0.5648 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.01337, allocations: 205.9 kB / 0.565 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01337, allocations: 0 / 0.565 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003206/0.01369, allocations: 288.4 kB / 0.5653 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.01371, allocations: 10.34 kB / 0.5653 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01372, allocations: 0 / 0.5653 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.01374, allocations: 4 kB / 0.5653 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01388, allocations: 55.91 kB / 0.5654 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.01389, allocations: 4 kB / 0.5654 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.01399, allocations: 32 kB / 0.5654 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.014, allocations: 12 kB / 0.5654 GB, free: 6.902 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: 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.0001299/0.01413, allocations: 161.7 kB / 0.5656 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.01417, allocations: 43.69 kB / 0.5656 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.01423, allocations: 39.45 kB / 0.5657 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01424, allocations: 4 kB / 0.5657 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.01425, allocations: 0 / 0.5657 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01425, allocations: 0 / 0.5657 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.01454, allocations: 324.5 kB / 0.566 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01454, allocations: 0 / 0.566 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.01468, allocations: 47.86 kB / 0.566 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01469, allocations: 0 / 0.566 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.0147, allocations: 11.98 kB / 0.566 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.0147, allocations: 4 kB / 0.566 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01471, allocations: 0 / 0.566 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.0152, allocations: 435 kB / 0.5664 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.01528, allocations: 51.72 kB / 0.5665 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.01531, allocations: 4 kB / 0.5665 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.0154, allocations: 20.05 kB / 0.5665 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.01547, allocations: 19.95 kB / 0.5665 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.01548, allocations: 8 kB / 0.5665 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001909/0.01567, allocations: 239.2 kB / 0.5668 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01567, allocations: 0 / 0.5668 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002864/0.01595, allocations: 71.78 kB / 0.5668 GB, free: 5.383 MB / 0.5261 GB 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.00073/0.01669, allocations: 0.9685 MB / 0.5678 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.01701, allocations: 191.7 kB / 0.568 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01701, allocations: 0 / 0.568 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.01712, allocations: 91.89 kB / 0.5681 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.01748, allocations: 83.39 kB / 0.5681 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.02051, allocations: 3.097 MB / 0.5712 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.02065, allocations: 195.1 kB / 0.5714 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.02078, allocations: 46.94 kB / 0.5714 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.02091, allocations: 124.5 kB / 0.5715 GB, free: 456 kB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/0.02091, allocations: 0 / 0.5715 GB, free: 456 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.04465, allocations: 7.621 MB / 0.579 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.051, allocations: 10.52 kB / 0.579 GB, free: 9.043 MB / 0.5417 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.702606381848454] Failed to read output from testmodel.py, exit status != 0: 7.1382414419204 7.153076882 7.143610366 Calling exit ...