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.001402/0.001402, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002303/0.002303, allocations: 209 kB / 22.99 MB, free: 4.977 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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.9812/0.9812, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.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.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 66.28 kB / 0.6416 GB, free: 9.582 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2383, allocations: 89.17 MB / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002473/0.2408, allocations: 0.7996 MB / 0.7295 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.2422, allocations: 0.921 MB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.2423, allocations: 0 / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.2423, allocations: 7.875 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.2424, allocations: 19.75 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2427, allocations: 39.94 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.2429, allocations: 119.6 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.243, allocations: 21.3 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.2433, allocations: 51.83 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2434, allocations: 51.77 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.2434, allocations: 8 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.067e-05/0.2435, allocations: 16 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.2435, allocations: 31.89 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.2435, allocations: 39.8 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.2438, allocations: 131.4 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2438, allocations: 0 / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2438, allocations: 4 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.2438, allocations: 0 / 0.7309 GB, free: 14.21 MB / 0.5606 GB 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.0007561/0.2445, allocations: 373.6 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2446, allocations: 12.03 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.2449, allocations: 24.88 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.2454, allocations: 194.5 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2454, allocations: 8.312 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.2454, allocations: 12.38 kB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2457, allocations: 111.5 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2457, allocations: 3.938 kB / 0.7316 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2457, allocations: 8 kB / 0.7316 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.2457, allocations: 8 kB / 0.7316 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.246, allocations: 87.83 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.2467, allocations: 432.8 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.247, allocations: 107.8 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.2471, allocations: 58.55 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.2472, allocations: 0 / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2472, allocations: 42.48 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.2472, allocations: 0 / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006129/0.2478, allocations: 165.6 kB / 0.7325 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.2479, allocations: 106.8 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.248, allocations: 146.2 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.2481, allocations: 29.7 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2482, allocations: 112.2 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.2482, allocations: 27.78 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.2483, allocations: 21.72 kB / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2484, allocations: 326.8 kB / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.2486, allocations: 44.02 kB / 0.7332 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.2488, allocations: 163.4 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.2491, allocations: 94.45 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2491, allocations: 0 / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003652/0.2495, allocations: 137.5 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2495, allocations: 4 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2495, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.2495, allocations: 4 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.2497, allocations: 19.97 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2497, allocations: 0 / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2498, allocations: 23.94 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2498, allocations: 0 / 0.7337 GB, free: 11.09 MB / 0.5606 GB 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 0.0001334/0.25, allocations: 133.7 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.25, allocations: 11.94 kB / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.2503, allocations: 86.31 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2503, allocations: 8.031 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.2503, allocations: 0 / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2503, allocations: 0 / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.2506, allocations: 141.2 kB / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2506, allocations: 7.938 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.2507, allocations: 23.92 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2507, allocations: 4 kB / 0.7341 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.2507, allocations: 15.98 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2507, allocations: 0 / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2507, allocations: 0 / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.2512, allocations: 365.9 kB / 0.7344 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.2512, allocations: 11.89 kB / 0.7344 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.2512, allocations: 11.98 kB / 0.7344 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2514, allocations: 19.92 kB / 0.7345 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.2515, allocations: 23.95 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2515, allocations: 0 / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.2516, allocations: 114.1 kB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2516, allocations: 0 / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003081/0.2519, allocations: 19.95 kB / 0.7346 GB, free: 10.05 MB / 0.5606 GB 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 0.0001585/0.252, allocations: 95.25 kB / 0.7347 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.2524, allocations: 99.86 kB / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2524, allocations: 0 / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.2526, allocations: 51.89 kB / 0.7348 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.2531, allocations: 17.81 kB / 0.7349 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.2535, allocations: 211.5 kB / 0.7351 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.2536, allocations: 84.19 kB / 0.7351 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.66e-05/0.2537, allocations: 12.66 kB / 0.7352 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.2538, allocations: 23.42 kB / 0.7352 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2538, allocations: 0 / 0.7352 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of Templates: time 0.004592/0.2584, allocations: 1.498 MB / 0.7366 GB, free: 7.926 MB / 0.5606 GB " [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: 5.944284716621041] Failed to read output from testmodel.py, exit status != 0: 0.26711272820830345 0.281588028 0.034818207000000004 Calling exit ...