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.001276/0.001276, allocations: 76.31 kB / 19.93 MB, free: 1.773 MB / 14.72 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.001349/0.001349, allocations: 170.4 kB / 23.22 MB, free: 4.879 MB / 14.72 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 1.4/1.4, allocations: 177.1 MB / 203.5 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.9207/0.9207, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 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: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.5546 GB, free: 2.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.931e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004404/0.004433, allocations: 2.82 MB / 0.5574 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.006369, allocations: 0.9427 MB / 0.5583 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.006604, allocations: 15.88 kB / 0.5583 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.006857, allocations: 71.25 kB / 0.5584 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.007071, allocations: 99.11 kB / 0.5585 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.007651, allocations: 227.5 kB / 0.5587 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000551/0.008202, allocations: 0.5029 MB / 0.5592 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.008537, allocations: 138.3 kB / 0.5593 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.008977, allocations: 275.2 kB / 0.5596 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.009189, allocations: 131.5 kB / 0.5597 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-05/0.009267, allocations: 44 kB / 0.5598 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/0.00936, allocations: 44 kB / 0.5598 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.934e-05/0.009449, allocations: 95.61 kB / 0.5599 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.009586, allocations: 131.6 kB / 0.56 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.01021, allocations: 0.5217 MB / 0.5605 GB, free: 12.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01022, allocations: 0 / 0.5605 GB, free: 12.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01022, allocations: 0 / 0.5605 GB, free: 12.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.01023, allocations: 0 / 0.5605 GB, free: 12.59 MB / 478.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.001123/0.01135, allocations: 0.6489 MB / 0.5612 GB, free: 11.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01138, allocations: 8.625 kB / 0.5612 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.01158, allocations: 60.64 kB / 0.5612 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.01218, allocations: 348.7 kB / 0.5616 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.01221, allocations: 21.03 kB / 0.5616 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.01227, allocations: 32.31 kB / 0.5616 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.01294, allocations: 419 kB / 0.562 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.01296, allocations: 192 / 0.562 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.01299, allocations: 12.38 kB / 0.562 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.013, allocations: 11.94 kB / 0.562 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.01349, allocations: 214.5 kB / 0.5622 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01493, allocations: 0.9617 MB / 0.5632 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.01552, allocations: 218.8 kB / 0.5634 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.01575, allocations: 108.8 kB / 0.5635 GB, free: 9.406 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.01578, allocations: 4 kB / 0.5635 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.01581, allocations: 38.55 kB / 0.5635 GB, free: 9.355 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.01581, allocations: 0 / 0.5635 GB, free: 9.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007139/0.01652, allocations: 288 kB / 0.5638 GB, free: 9.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.0166, allocations: 110.8 kB / 0.5639 GB, free: 8.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.01697, allocations: 329.7 kB / 0.5642 GB, free: 8.609 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.017, allocations: 37.64 kB / 0.5643 GB, free: 8.566 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.01718, allocations: 224.5 kB / 0.5645 GB, free: 8.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.01726, allocations: 83.27 kB / 0.5646 GB, free: 8.258 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.01736, allocations: 53.69 kB / 0.5646 GB, free: 8.199 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.01755, allocations: 342.8 kB / 0.5649 GB, free: 7.855 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.01775, allocations: 83.88 kB / 0.565 GB, free: 7.773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.01802, allocations: 195.1 kB / 0.5652 GB, free: 7.543 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.01844, allocations: 209.9 kB / 0.5654 GB, free: 7.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01844, allocations: 0 / 0.5654 GB, free: 7.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000533/0.01898, allocations: 285.3 kB / 0.5657 GB, free: 7.035 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01899, allocations: 4 kB / 0.5657 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.019, allocations: 11.92 kB / 0.5657 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01902, allocations: 0 / 0.5657 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.01926, allocations: 51.92 kB / 0.5657 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.01927, allocations: 3.984 kB / 0.5657 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.01945, allocations: 31.83 kB / 0.5658 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.01948, allocations: 12 kB / 0.5658 GB, free: 6.922 MB / 478.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.0001782/0.01966, allocations: 165.8 kB / 0.5659 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.01972, allocations: 35.8 kB / 0.566 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.01982, allocations: 43.31 kB / 0.566 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01983, allocations: 0 / 0.566 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.01983, allocations: 0 / 0.566 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.01984, allocations: 3.984 kB / 0.566 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.02022, allocations: 277.1 kB / 0.5663 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.02022, allocations: 3.938 kB / 0.5663 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.02046, allocations: 47.91 kB / 0.5663 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.02046, allocations: 0 / 0.5663 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.02048, allocations: 8 kB / 0.5663 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.02048, allocations: 7.938 kB / 0.5663 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02049, allocations: 0 / 0.5663 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.02121, allocations: 423.2 kB / 0.5668 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.02132, allocations: 55.7 kB / 0.5668 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.02137, allocations: 7.938 kB / 0.5668 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.02154, allocations: 15.98 kB / 0.5668 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.02162, allocations: 23.95 kB / 0.5669 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.02163, allocations: 8.062 kB / 0.5669 GB, free: 5.762 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002489/0.02188, allocations: 239.1 kB / 0.5671 GB, free: 5.531 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02188, allocations: 0 / 0.5671 GB, free: 5.531 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.02221, allocations: 67.84 kB / 0.5672 GB, free: 5.465 MB / 478.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.0001323/0.02234, allocations: 99.23 kB / 0.5672 GB, free: 5.359 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.0228, allocations: 203.4 kB / 0.5674 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02281, allocations: 0 / 0.5674 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.02301, allocations: 90.16 kB / 0.5675 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.02352, allocations: 75.98 kB / 0.5676 GB, free: 5.012 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.02483, allocations: 0.6709 MB / 0.5683 GB, free: 4.309 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.02502, allocations: 195.1 kB / 0.5684 GB, free: 4.102 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.02515, allocations: 34.95 kB / 0.5685 GB, free: 4.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.02524, allocations: 28.5 kB / 0.5685 GB, free: 4.039 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02524, allocations: 0 / 0.5685 GB, free: 4.039 MB / 478.1 MB Notification: Performance of Templates: time 0.008011/0.03325, allocations: 3.243 MB / 0.5717 GB, free: 0.8789 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.272975251078606] Failed to read output from testmodel.py, exit status != 0: 0.042502664029598236 0.056187568 0.042990855 Calling exit ...