Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.001421, allocations: 111.7 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.1249/0.1249, allocations: 8.399 MB / 306.3 MB, free: 2.699 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 59.91 kB / 423.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2177, allocations: 51.38 MB / 474.6 MB, free: 20.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.00432/0.222, allocations: 3.829 MB / 478.4 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.224, allocations: 1.714 MB / 480.1 MB, free: 16.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.2242, allocations: 9.125 kB / 480.1 MB, free: 16.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.2245, allocations: 197.3 kB / 480.3 MB, free: 16.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.2249, allocations: 233.2 kB / 480.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.2255, allocations: 382.6 kB / 480.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005034/0.226, allocations: 0.6574 MB / 481.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.2264, allocations: 323.1 kB / 481.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.2267, allocations: 277.3 kB / 482.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.227, allocations: 326.9 kB / 482.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.2271, allocations: 59.97 kB / 482.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.2272, allocations: 126.4 kB / 482.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.2274, allocations: 223.8 kB / 482.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.2276, allocations: 371.7 kB / 483.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006868/0.2283, allocations: 0.9314 MB / 484.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2283, allocations: 0 / 484.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2283, allocations: 0 / 484.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.2283, allocations: 0 / 484.2 MB, free: 13.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001379/0.2297, allocations: 1.153 MB / 485.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2298, allocations: 13.08 kB / 485.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.2299, allocations: 94.52 kB / 485.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.2305, allocations: 0.5937 MB / 486 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.2305, allocations: 44.14 kB / 486.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.2306, allocations: 52.19 kB / 486.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.2313, allocations: 488.6 kB / 486.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.2314, allocations: 4.984 kB / 486.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.2314, allocations: 20.22 kB / 486.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2314, allocations: 10.81 kB / 486.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.2322, allocations: 355.8 kB / 487 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.2342, allocations: 1.849 MB / 488.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.2349, allocations: 356.1 kB / 489.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.2352, allocations: 141 kB / 489.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.2352, allocations: 8.5 kB / 489.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.2356, allocations: 192.6 kB / 489.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.2356, allocations: 0 / 489.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001497/0.2371, allocations: 0.6479 MB / 490.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.2372, allocations: 63.75 kB / 490.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.238, allocations: 0.9162 MB / 491.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2381, allocations: 32.08 kB / 491.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.2383, allocations: 381 kB / 491.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.2383, allocations: 103.5 kB / 491.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.68e-05/0.2384, allocations: 83.08 kB / 491.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.2385, allocations: 378 kB / 492.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.2388, allocations: 137.7 kB / 492.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.2392, allocations: 207 kB / 492.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.2398, allocations: 372.7 kB / 492.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2398, allocations: 5.312 kB / 492.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009521/0.2408, allocations: 0.5262 MB / 493.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.2408, allocations: 36.98 kB / 493.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2408, allocations: 1.062 kB / 493.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.2411, allocations: 65.19 kB / 493.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2413, allocations: 74.05 kB / 493.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.2425, allocations: 1.824 MB / 495.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.2428, allocations: 48.98 kB / 495.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2428, allocations: 16 kB / 495.4 MB, free: 5.129 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.2431, allocations: 265.9 kB / 495.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.2431, allocations: 64.92 kB / 495.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008841/0.244, allocations: 441.8 kB / 496.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.244, allocations: 7.656 kB / 496.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.244, allocations: 3.984 kB / 496.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.244, allocations: 0 / 496.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.2445, allocations: 0.5674 MB / 496.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2445, allocations: 1.375 kB / 496.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.2447, allocations: 53.39 kB / 496.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.2449, allocations: 54.81 kB / 496.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.2449, allocations: 6.438 kB / 496.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.246, allocations: 1.825 MB / 498.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.246, allocations: 4.062 kB / 498.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.2472, allocations: 0.5951 MB / 499.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2473, allocations: 158.8 kB / 499.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.2473, allocations: 6.344 kB / 499.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2476, allocations: 24.22 kB / 499.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.2476, allocations: 36.73 kB / 499.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2477, allocations: 6.188 kB / 499.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000601/0.2483, allocations: 0.6583 MB / 0.4884 GB, free: 1.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2483, allocations: 4 kB / 0.4884 GB, free: 1.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004616/0.2487, allocations: 147.3 kB / 0.4886 GB, free: 1.449 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002033/0.2508, allocations: 0.6181 MB / 0.4892 GB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008967/0.2517, allocations: 0.5132 MB / 0.4897 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2517, allocations: 5.625 kB / 0.4897 GB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.2521, allocations: 276.5 kB / 0.4899 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.2526, allocations: 87.14 kB / 0.49 GB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.2545, allocations: 1.446 MB / 0.4914 GB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.2551, allocations: 0.9518 MB / 0.4924 GB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.2552, allocations: 39.44 kB / 0.4924 GB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2552, allocations: 3.938 kB / 0.4924 GB, free: 14.25 MB / 366.1 MB Notification: Performance of Templates: time 0.014/0.2692, allocations: 11.19 MB / 0.5033 GB, free: 3.043 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.251440221909434] Failed to read output from testmodel.py, exit status != 0: 0.2760457578115165 0.28817582 0.057475729 Calling exit ...