Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.001292/0.001292, allocations: 80.94 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.001257/0.001257, allocations: 173 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.077/1.077, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.02912/0.02912, allocations: 6.491 MB / 266.8 MB, free: 6.523 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.567e-06/3.567e-06, allocations: 4 kB / 285.3 MB, free: 3.961 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.881e-05, allocations: 2.312 kB / 285.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004938/0.004967, allocations: 3.789 MB / 289.1 MB, free: 156 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1626/0.1676, allocations: 1.216 MB / 290.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006844/0.1683, allocations: 11.5 kB / 290.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007549/0.1691, allocations: 210.2 kB / 290.5 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.1701, allocations: 276.6 kB / 290.8 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1712, allocations: 372.1 kB / 291.2 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.1723, allocations: 0.6534 MB / 291.8 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.1728, allocations: 201.8 kB / 292 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009039/0.1737, allocations: 381.6 kB / 292.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.1742, allocations: 239 kB / 292.6 MB, free: 18.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.1743, allocations: 55 kB / 292.7 MB, free: 18.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.1746, allocations: 124.6 kB / 292.8 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.1749, allocations: 221.6 kB / 293 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.1751, allocations: 204.2 kB / 293.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1762, allocations: 0.5832 MB / 293.8 MB, free: 18.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1762, allocations: 0 / 293.8 MB, free: 18.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1762, allocations: 0 / 293.8 MB, free: 18.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.684e-05/0.1763, allocations: 1.906 kB / 293.8 MB, free: 18.29 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001964/0.1782, allocations: 0.9832 MB / 294.8 MB, free: 17.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.1783, allocations: 12.06 kB / 294.8 MB, free: 17.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.1785, allocations: 82.47 kB / 294.9 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006774/0.1792, allocations: 391 kB / 295.2 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.1792, allocations: 35.28 kB / 295.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.1793, allocations: 48.59 kB / 295.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.1799, allocations: 330.8 kB / 295.7 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.1799, allocations: 1.953 kB / 295.7 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.18, allocations: 15.81 kB / 295.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.18, allocations: 14.72 kB / 295.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.1802, allocations: 94.92 kB / 295.8 MB, free: 17.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.1821, allocations: 1.085 MB / 296.9 MB, free: 16.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.1824, allocations: 146.9 kB / 297 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.1825, allocations: 42.08 kB / 297 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.1825, allocations: 6.203 kB / 297.1 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.1828, allocations: 115.2 kB / 297.2 MB, free: 16.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.685e-06/0.1828, allocations: 1.219 kB / 297.2 MB, free: 16.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007899/0.1836, allocations: 269.1 kB / 297.4 MB, free: 16.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1836, allocations: 54.53 kB / 297.5 MB, free: 16.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/0.1844, allocations: 0.5987 MB / 298.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1845, allocations: 31.77 kB / 298.1 MB, free: 16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.1847, allocations: 266.5 kB / 298.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.436e-05/0.1847, allocations: 95.97 kB / 298.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.1849, allocations: 80.36 kB / 298.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.185, allocations: 381 kB / 298.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1851, allocations: 60.98 kB / 299 MB, free: 15.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1852, allocations: 129.8 kB / 299.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1855, allocations: 201.6 kB / 299.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1855, allocations: 5.156 kB / 299.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005743/0.186, allocations: 308.1 kB / 299.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.1861, allocations: 33.67 kB / 299.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.1861, allocations: 2.656 kB / 299.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/0.1864, allocations: 61.98 kB / 299.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.1866, allocations: 71.52 kB / 299.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1877, allocations: 1.546 MB / 301.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.1879, allocations: 47.53 kB / 301.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1879, allocations: 9.406 kB / 301.4 MB, free: 13.5 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: 6 (ice.tokgFuel.local_reset,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0001599/0.1881, allocations: 139.9 kB / 301.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.1882, allocations: 45.58 kB / 301.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.1886, allocations: 220.8 kB / 301.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1886, allocations: 2.594 kB / 301.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1886, allocations: 0 / 301.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1886, allocations: 0.8594 kB / 301.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.189, allocations: 274.4 kB / 302 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.189, allocations: 0 / 302 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.1891, allocations: 41.59 kB / 302.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/0.1893, allocations: 53.19 kB / 302.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1893, allocations: 12.47 kB / 302.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007803/0.1901, allocations: 1.573 MB / 303.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1901, allocations: 1.375 kB / 303.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1904, allocations: 259.6 kB / 304 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.1905, allocations: 79.12 kB / 304.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.1905, allocations: 5.469 kB / 304.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.1906, allocations: 20.7 kB / 304.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.1907, allocations: 25.12 kB / 304.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1907, allocations: 4.516 kB / 304.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003297/0.191, allocations: 276.2 kB / 304.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.191, allocations: 0 / 304.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004761/0.1915, allocations: 132.3 kB / 304.5 MB, free: 11.36 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: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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.001726/0.1932, allocations: 0.7822 MB / 305.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.1937, allocations: 354.5 kB / 305.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.34e-05/0.1937, allocations: 6.875 kB / 305.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.1939, allocations: 207.6 kB / 305.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1942, allocations: 96.06 kB / 305.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.196, allocations: 1.113 MB / 307.1 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.1961, allocations: 163.2 kB / 307.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.1963, allocations: 61.2 kB / 307.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.1964, allocations: 116.7 kB / 307.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1964, allocations: 1.062 kB / 307.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of Templates: time 0.01088/0.2073, allocations: 7.043 MB / 314.4 MB, free: 3.797 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1383770960383117]