Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001015/0.001015, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001023/0.001023, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02792/0.02792, allocations: 6.496 MB / 266.7 MB, free: 6.52 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.965e-05, allocations: 2.312 kB / 285.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004954/0.004974, allocations: 3.856 MB / 289.2 MB, free: 68 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1726/0.1776, allocations: 1.963 MB / 291.1 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.1779, allocations: 14.92 kB / 291.1 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.1784, allocations: 222.1 kB / 291.4 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.179, allocations: 293.8 kB / 291.6 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.1796, allocations: 383 kB / 292 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.1803, allocations: 0.6879 MB / 292.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.1807, allocations: 243.7 kB / 292.9 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005492/0.1812, allocations: 407.2 kB / 293.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.1816, allocations: 253.5 kB / 293.6 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.793e-05/0.1817, allocations: 65.28 kB / 293.7 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.1819, allocations: 123 kB / 293.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.1821, allocations: 232 kB / 294 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.1823, allocations: 221.8 kB / 294.2 MB, free: 18.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.183, allocations: 0.6211 MB / 294.8 MB, free: 17.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.183, allocations: 1.375 kB / 294.8 MB, free: 17.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.183, allocations: 0.9375 kB / 294.8 MB, free: 17.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.183, allocations: 0 / 294.8 MB, free: 17.75 MB / 266.7 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.00122/0.1842, allocations: 1.033 MB / 295.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1842, allocations: 9.094 kB / 295.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1844, allocations: 89.72 kB / 296 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.1848, allocations: 397.5 kB / 296.4 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.1848, allocations: 37.56 kB / 296.4 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.1849, allocations: 49.94 kB / 296.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.1854, allocations: 369.3 kB / 296.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1854, allocations: 5.562 kB / 296.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.1854, allocations: 16.69 kB / 296.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1854, allocations: 11.28 kB / 296.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.1856, allocations: 116 kB / 297 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.187, allocations: 1.152 MB / 298.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1872, allocations: 159.8 kB / 298.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.1873, allocations: 45.05 kB / 298.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1874, allocations: 10.23 kB / 298.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.1875, allocations: 126.7 kB / 298.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 3.617e-06/0.1876, allocations: 0 / 298.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006362/0.1882, allocations: 276.2 kB / 298.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1882, allocations: 59.06 kB / 298.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.1888, allocations: 0.6132 MB / 299.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1888, allocations: 31.05 kB / 299.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.189, allocations: 285.3 kB / 299.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.189, allocations: 100.8 kB / 299.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.1891, allocations: 89.64 kB / 299.9 MB, free: 15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.1892, allocations: 384.4 kB / 300.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.1893, allocations: 63.86 kB / 300.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1894, allocations: 139.2 kB / 300.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1896, allocations: 209.4 kB / 300.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1896, allocations: 0 / 300.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000346/0.1899, allocations: 322.3 kB / 301 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.19, allocations: 33.05 kB / 301 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.19, allocations: 2.875 kB / 301 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.1902, allocations: 68.08 kB / 301.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1904, allocations: 74.45 kB / 301.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008986/0.1913, allocations: 1.557 MB / 302.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1914, allocations: 40.59 kB / 302.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.1914, allocations: 12.28 kB / 302.8 MB, free: 12.69 MB / 266.7 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 (ice.tokgFuel.local_reset,stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1) * 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.0001163/0.1915, allocations: 144 kB / 302.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.1916, allocations: 49.22 kB / 302.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.1919, allocations: 225.4 kB / 303.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1919, allocations: 3.5 kB / 303.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1919, allocations: 2.75 kB / 303.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1919, allocations: 6.297 kB / 303.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.1922, allocations: 280.8 kB / 303.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1922, allocations: 256 / 303.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.1923, allocations: 50.73 kB / 303.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.1924, allocations: 58.55 kB / 303.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1924, allocations: 5.469 kB / 303.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006499/0.1931, allocations: 1.578 MB / 305.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1931, allocations: 0 / 305.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.1934, allocations: 280.5 kB / 305.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.1935, allocations: 72.08 kB / 305.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.1935, allocations: 6.75 kB / 305.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.1936, allocations: 17.61 kB / 305.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.1936, allocations: 36.12 kB / 305.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1937, allocations: 8.125 kB / 305.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002371/0.1939, allocations: 285.7 kB / 305.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1939, allocations: 5.031 kB / 305.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.1942, allocations: 140.7 kB / 306 MB, free: 10.38 MB / 266.7 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.001681/0.1959, allocations: 0.7808 MB / 306.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.1963, allocations: 383.6 kB / 307.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.1963, allocations: 6.469 kB / 307.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1965, allocations: 202.9 kB / 307.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1968, allocations: 95.34 kB / 307.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1983, allocations: 1.164 MB / 308.6 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.1984, allocations: 172.1 kB / 308.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1985, allocations: 61.7 kB / 308.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1986, allocations: 120 kB / 308.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1986, allocations: 0 / 308.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of Templates: time 0.009067/0.2077, allocations: 7.25 MB / 316.2 MB, free: 2.027 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0268395338207483]