Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.000763/0.000763, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007421/0.0007421, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8834/0.8834, 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.5513/0.5513, 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.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.5555 GB, free: 1.141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.854e-05, allocations: 3.406 kB / 0.5555 GB, free: 1.137 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001329/0.001357, allocations: 0.8112 MB / 0.5563 GB, free: 336 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.002318, allocations: 0.9171 MB / 0.5572 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.002376, allocations: 4 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.002413, allocations: 11.86 kB / 0.5572 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/0.002499, allocations: 15.75 kB / 0.5572 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.002728, allocations: 43.94 kB / 0.5572 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.002843, allocations: 123.6 kB / 0.5574 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.002947, allocations: 17.3 kB / 0.5574 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.003125, allocations: 79.75 kB / 0.5575 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.003194, allocations: 47.86 kB / 0.5575 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.003215, allocations: 8 kB / 0.5575 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.003256, allocations: 12 kB / 0.5575 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.003277, allocations: 23.92 kB / 0.5575 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.003309, allocations: 27.91 kB / 0.5576 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.003473, allocations: 135.5 kB / 0.5577 GB, free: 14.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.003476, allocations: 0 / 0.5577 GB, free: 14.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003477, allocations: 8 kB / 0.5577 GB, free: 14.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.003481, allocations: 0 / 0.5577 GB, free: 14.85 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004764/0.003957, allocations: 361.8 kB / 0.558 GB, free: 14.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.003999, allocations: 8.625 kB / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.004162, allocations: 40.75 kB / 0.5581 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.004453, allocations: 193.2 kB / 0.5583 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.004474, allocations: 8.375 kB / 0.5583 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.004486, allocations: 4.375 kB / 0.5583 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.004664, allocations: 116.8 kB / 0.5584 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.004672, allocations: 4.125 kB / 0.5584 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.004685, allocations: 4.375 kB / 0.5584 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.004693, allocations: 8.125 kB / 0.5584 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.004838, allocations: 75.91 kB / 0.5585 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.005238, allocations: 436.7 kB / 0.5589 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.005391, allocations: 107.8 kB / 0.559 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.00547, allocations: 58.55 kB / 0.5591 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.005493, allocations: 4 kB / 0.5591 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.005515, allocations: 42.5 kB / 0.5591 GB, free: 13.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.005516, allocations: 0 / 0.5591 GB, free: 13.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003403/0.005856, allocations: 161.6 kB / 0.5593 GB, free: 13.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.005902, allocations: 106.8 kB / 0.5594 GB, free: 12.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.005986, allocations: 146.2 kB / 0.5595 GB, free: 12.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.006005, allocations: 37.69 kB / 0.5595 GB, free: 12.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.006055, allocations: 100.3 kB / 0.5596 GB, free: 12.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.006083, allocations: 27.86 kB / 0.5597 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.006121, allocations: 25.7 kB / 0.5597 GB, free: 12.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.006205, allocations: 326.8 kB / 0.56 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.00629, allocations: 43.97 kB / 0.56 GB, free: 12.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.006405, allocations: 162.2 kB / 0.5602 GB, free: 12.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.006549, allocations: 90.52 kB / 0.5603 GB, free: 11.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006551, allocations: 0 / 0.5603 GB, free: 11.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001942/0.006746, allocations: 153.4 kB / 0.5604 GB, free: 11.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006759, allocations: 8 kB / 0.5604 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.006764, allocations: 0 / 0.5604 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.006775, allocations: 0 / 0.5604 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.006855, allocations: 19.92 kB / 0.5605 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.006861, allocations: 4 kB / 0.5605 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.006917, allocations: 15.97 kB / 0.5605 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.006925, allocations: 4 kB / 0.5605 GB, free: 11.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.905e-05/0.006994, allocations: 125.8 kB / 0.5606 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.007028, allocations: 15.84 kB / 0.5606 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.007186, allocations: 98.19 kB / 0.5607 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.007188, allocations: 0 / 0.5607 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.007193, allocations: 0 / 0.5607 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.007198, allocations: 8.031 kB / 0.5607 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.007358, allocations: 133.3 kB / 0.5608 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00736, allocations: 0 / 0.5608 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.007407, allocations: 23.97 kB / 0.5609 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.007411, allocations: 7.938 kB / 0.5609 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.007419, allocations: 0 / 0.5609 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007421, allocations: 0 / 0.5609 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.007422, allocations: 4 kB / 0.5609 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.007663, allocations: 369.9 kB / 0.5612 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.007673, allocations: 15.84 kB / 0.5612 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.007689, allocations: 8 kB / 0.5613 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.007791, allocations: 15.98 kB / 0.5613 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.007847, allocations: 23.95 kB / 0.5613 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.007854, allocations: 11.92 kB / 0.5613 GB, free: 10.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.63e-05/0.0079, allocations: 106.5 kB / 0.5614 GB, free: 10.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0079, allocations: 0 / 0.5614 GB, free: 10.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.008104, allocations: 20 kB / 0.5614 GB, free: 10.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 9.897e-05/0.008203, allocations: 107.1 kB / 0.5615 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.008408, allocations: 99.92 kB / 0.5616 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008409, allocations: 0 / 0.5616 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.012e-05/0.008489, allocations: 43.97 kB / 0.5617 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.008807, allocations: 17.61 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.009144, allocations: 245.1 kB / 0.5619 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.466e-05/0.009209, allocations: 88.27 kB / 0.562 GB, free: 10.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.009259, allocations: 24.48 kB / 0.562 GB, free: 10.02 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009259, allocations: 0 / 0.562 GB, free: 10.02 MB / 490.7 MB Notification: Performance of Templates: time 0.002178/0.01144, allocations: 1.556 MB / 0.5635 GB, free: 8.473 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.615317411720753] Failed to read output from testmodel.py, exit status != 0: 0.016375623643398285 0.024101159 0.019065412 Calling exit ...