Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 117.8 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009495/0.0009496, allocations: 192.8 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03673/0.03673, allocations: 8.024 MB / 299.2 MB, free: 6.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 362.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1856, allocations: 51.2 MB / 413.3 MB, free: 26.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003715/0.1893, allocations: 3.172 MB / 416.4 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1905, allocations: 0.7912 MB / 417.2 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1907, allocations: 15.94 kB / 417.3 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.1911, allocations: 283 kB / 417.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.1914, allocations: 219 kB / 417.7 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.1919, allocations: 282 kB / 418 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.1923, allocations: 0.4913 MB / 418.5 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.1926, allocations: 194.8 kB / 418.7 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1927, allocations: 215.2 kB / 418.9 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.193, allocations: 287 kB / 419.2 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.193, allocations: 40 kB / 419.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.1931, allocations: 68 kB / 419.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1933, allocations: 187.3 kB / 419.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1935, allocations: 298.2 kB / 419.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1939, allocations: 0.7062 MB / 420.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1939, allocations: 0 / 420.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1939, allocations: 0 / 420.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1939, allocations: 4 kB / 420.5 MB, free: 18.8 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001171/0.1951, allocations: 1.029 MB / 421.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.1951, allocations: 8.031 kB / 421.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.1952, allocations: 76 kB / 421.6 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.1957, allocations: 0.5314 MB / 422.1 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1958, allocations: 24.59 kB / 422.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.1958, allocations: 36 kB / 422.2 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.1964, allocations: 377.2 kB / 422.6 MB, free: 16.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1964, allocations: 7.906 kB / 422.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.1965, allocations: 8 kB / 422.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1965, allocations: 11.98 kB / 422.6 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.1971, allocations: 262.4 kB / 422.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.1986, allocations: 1.655 MB / 424.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/0.1993, allocations: 294.5 kB / 424.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.1995, allocations: 108.8 kB / 424.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.1996, allocations: 4 kB / 424.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.1999, allocations: 167.2 kB / 425.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.1999, allocations: 0 / 425.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001488/0.2014, allocations: 0.6496 MB / 425.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2014, allocations: 81.11 kB / 425.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.2021, allocations: 0.9611 MB / 426.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2022, allocations: 33.7 kB / 426.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.2023, allocations: 339.9 kB / 427.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.2024, allocations: 75 kB / 427.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.2025, allocations: 57.69 kB / 427.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.2025, allocations: 374.8 kB / 427.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.2028, allocations: 109.1 kB / 427.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.2031, allocations: 196.1 kB / 427.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.2036, allocations: 324.5 kB / 428.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2036, allocations: 0 / 428.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009021/0.2045, allocations: 0.5103 MB / 428.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2045, allocations: 33.7 kB / 428.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2046, allocations: 7.938 kB / 428.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.2048, allocations: 60.81 kB / 428.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.205, allocations: 47.91 kB / 428.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.2066, allocations: 1.982 MB / 430.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.2068, allocations: 43.75 kB / 430.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.2069, allocations: 12 kB / 430.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003457/0.2072, allocations: 312.3 kB / 431.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002377/0.2074, allocations: 183.3 kB / 431.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004204/0.2079, allocations: 302.9 kB / 431.7 MB, free: 6.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.2079, allocations: 0 / 431.7 MB, free: 6.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006573/0.2085, allocations: 441.7 kB / 432.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2086, allocations: 29.7 kB / 432.2 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.2086, allocations: 4 kB / 432.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/0.2087, allocations: 48.83 kB / 432.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2089, allocations: 47.91 kB / 432.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008392/0.2097, allocations: 1.768 MB / 434 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.21, allocations: 35.81 kB / 434.1 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.21, allocations: 8 kB / 434.1 MB, free: 4.406 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.toKgFuel.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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 7.905e-05/0.2101, allocations: 204.3 kB / 434.3 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.2101, allocations: 59.25 kB / 434.3 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007784/0.2109, allocations: 395.9 kB / 434.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2109, allocations: 0 / 434.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.2109, allocations: 4 kB / 434.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2109, allocations: 4 kB / 434.7 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.2112, allocations: 489.1 kB / 435.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2112, allocations: 3.938 kB / 435.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.2114, allocations: 35.91 kB / 435.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.2116, allocations: 72.8 kB / 435.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2117, allocations: 4 kB / 435.3 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.2131, allocations: 1.962 MB / 437.3 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2131, allocations: 4.031 kB / 437.3 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009853/0.2141, allocations: 0.5078 MB / 437.8 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2142, allocations: 152.3 kB / 437.9 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.2143, allocations: 8 kB / 437.9 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2145, allocations: 27.97 kB / 438 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.2146, allocations: 27.91 kB / 438 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.2146, allocations: 8 kB / 438 MB, free: 224 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007132/0.2153, allocations: 0.7061 MB / 438.7 MB, free: 15.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2153, allocations: 3.938 kB / 438.7 MB, free: 15.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006518/0.216, allocations: 187.4 kB / 438.9 MB, free: 15.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y,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 (15): * Single equations (assignments): 12 * 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.0007663/0.2168, allocations: 379.8 kB / 439.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.2182, allocations: 0.803 MB / 440.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2182, allocations: 4 kB / 440.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.2187, allocations: 286.7 kB / 440.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.2192, allocations: 78.89 kB / 440.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.2209, allocations: 1.321 MB / 441.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.2213, allocations: 0.9217 MB / 442.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.2215, allocations: 63.25 kB / 442.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.2216, allocations: 35.42 kB / 442.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2216, allocations: 0 / 442.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of Templates: time 0.01062/0.2322, allocations: 6.447 MB / 449.2 MB, free: 5.043 MB / 318.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)