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.0007745/0.0007745, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.000747/0.000747, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8629/0.8629, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.5456/0.5456, allocations: 114 MB / 374.7 MB, free: 8.715 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: 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.273e-06/1.273e-06, allocations: 0 / 0.5554 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.088e-05, allocations: 6.281 kB / 0.5554 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.002823/0.002844, allocations: 2.815 MB / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.003996, allocations: 0.935 MB / 0.559 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.00418, allocations: 15.88 kB / 0.5591 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.004371, allocations: 75.25 kB / 0.5591 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.0045, allocations: 99.11 kB / 0.5592 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.00515, allocations: 234.5 kB / 0.5594 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.005479, allocations: 0.4912 MB / 0.5599 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.005697, allocations: 146.2 kB / 0.5601 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.005952, allocations: 275.2 kB / 0.5603 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.006086, allocations: 131.5 kB / 0.5605 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.006124, allocations: 40 kB / 0.5605 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.006186, allocations: 59.94 kB / 0.5606 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.006229, allocations: 87.62 kB / 0.5606 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.006305, allocations: 127.6 kB / 0.5608 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.006689, allocations: 0.5217 MB / 0.5613 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006691, allocations: 0 / 0.5613 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.006693, allocations: 3.984 kB / 0.5613 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.006699, allocations: 0 / 0.5613 GB, free: 12.27 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.0007091/0.007408, allocations: 0.645 MB / 0.5619 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.007443, allocations: 8.625 kB / 0.5619 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.007565, allocations: 60.64 kB / 0.562 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.007956, allocations: 348.7 kB / 0.5623 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.007976, allocations: 25.03 kB / 0.5623 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.008012, allocations: 28.38 kB / 0.5624 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.008387, allocations: 415 kB / 0.5627 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.008399, allocations: 192 / 0.5627 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.008421, allocations: 12.38 kB / 0.5628 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.00843, allocations: 15.88 kB / 0.5628 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.008698, allocations: 218.4 kB / 0.563 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000863/0.009561, allocations: 0.9539 MB / 0.5639 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.009915, allocations: 226.7 kB / 0.5641 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.01004, allocations: 101.6 kB / 0.5642 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.01006, allocations: 7.938 kB / 0.5642 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.01008, allocations: 42.5 kB / 0.5643 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.01008, allocations: 0 / 0.5643 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.0003904/0.01047, allocations: 284.3 kB / 0.5645 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.01051, allocations: 118.8 kB / 0.5647 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.01073, allocations: 325.7 kB / 0.565 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01075, allocations: 37.69 kB / 0.565 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01087, allocations: 228.4 kB / 0.5652 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.01091, allocations: 71.39 kB / 0.5653 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.01096, allocations: 53.66 kB / 0.5653 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.01105, allocations: 350.8 kB / 0.5657 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.01115, allocations: 75.95 kB / 0.5657 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.0113, allocations: 207 kB / 0.5659 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.01151, allocations: 198 kB / 0.5661 GB, free: 7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01152, allocations: 4 kB / 0.5661 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005399/0.01206, allocations: 280.5 kB / 0.5664 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01207, allocations: 8 kB / 0.5664 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01208, allocations: 3.938 kB / 0.5664 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01209, allocations: 7.984 kB / 0.5664 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.0122, allocations: 51.92 kB / 0.5665 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.01221, allocations: 7.984 kB / 0.5665 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.187e-05/0.01229, allocations: 35.77 kB / 0.5665 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.0123, allocations: 12.19 kB / 0.5665 GB, free: 6.594 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.0001077/0.01241, allocations: 157.8 kB / 0.5667 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.01244, allocations: 35.77 kB / 0.5667 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.0125, allocations: 43.31 kB / 0.5668 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.0125, allocations: 4 kB / 0.5668 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.0125, allocations: 3.938 kB / 0.5668 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01251, allocations: 3.984 kB / 0.5668 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.01272, allocations: 277.1 kB / 0.567 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01272, allocations: 0 / 0.567 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01283, allocations: 51.91 kB / 0.5671 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01283, allocations: 0 / 0.5671 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01284, allocations: 4 kB / 0.5671 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.01285, allocations: 7.938 kB / 0.5671 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01285, allocations: 0 / 0.5671 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.01324, allocations: 411.2 kB / 0.5675 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.01331, allocations: 59.7 kB / 0.5675 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01333, allocations: 11.94 kB / 0.5676 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.01341, allocations: 16.05 kB / 0.5676 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.01346, allocations: 23.95 kB / 0.5676 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.01346, allocations: 7.938 kB / 0.5676 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000149/0.01361, allocations: 231.2 kB / 0.5678 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01361, allocations: 0 / 0.5678 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001976/0.01381, allocations: 67.84 kB / 0.5679 GB, free: 5.152 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 7.878e-05/0.01389, allocations: 111.2 kB / 0.568 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002641/0.01415, allocations: 194.4 kB / 0.5682 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01416, allocations: 0 / 0.5682 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.01426, allocations: 95.91 kB / 0.5683 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.01456, allocations: 74.86 kB / 0.5683 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007913/0.01535, allocations: 0.6883 MB / 0.569 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01546, allocations: 191.1 kB / 0.5692 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.01552, allocations: 32.48 kB / 0.5692 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/0.01552, allocations: 0 / 0.5692 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of Templates: time 0.004312/0.01983, allocations: 4.406 MB / 0.5735 GB, free: 15.34 MB / 0.5417 GB " [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: 4.922445219010115] Failed to read output from testmodel.py, exit status != 0: 0.025018409825861454 0.033003846 0.024485482000000003 Calling exit ...