Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.00152/0.00152, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001139/0.001139, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03868/0.03868, allocations: 8.044 MB / 299.2 MB, free: 6.801 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.88 kB / 362.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2226, allocations: 51.2 MB / 413.3 MB, free: 25.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.00384/0.2265, allocations: 3.171 MB / 416.4 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2276, allocations: 0.7912 MB / 417.2 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.2278, allocations: 11.94 kB / 417.2 MB, free: 22.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.2283, allocations: 283 kB / 417.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.2287, allocations: 219 kB / 417.7 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.2292, allocations: 285.4 kB / 418 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.2296, allocations: 0.4951 MB / 418.5 MB, free: 20.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.2299, allocations: 198.8 kB / 418.7 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.2301, allocations: 211.3 kB / 418.9 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.2304, allocations: 275.1 kB / 419.2 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.2304, allocations: 36 kB / 419.2 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.2306, allocations: 79.97 kB / 419.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.2308, allocations: 187.4 kB / 419.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.231, allocations: 298.1 kB / 419.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.2316, allocations: 0.7101 MB / 420.5 MB, free: 18.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2316, allocations: 3.938 kB / 420.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2316, allocations: 0 / 420.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.2316, allocations: 0 / 420.5 MB, free: 18.77 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.0014/0.233, allocations: 1.017 MB / 421.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2331, allocations: 8.031 kB / 421.5 MB, free: 17.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2332, allocations: 87.92 kB / 421.6 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.2338, allocations: 0.5237 MB / 422.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.2338, allocations: 32.53 kB / 422.1 MB, free: 17.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.2339, allocations: 39.94 kB / 422.2 MB, free: 16.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.2345, allocations: 369.3 kB / 422.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2345, allocations: 11.84 kB / 422.6 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.2346, allocations: 16 kB / 422.6 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.2346, allocations: 8 kB / 422.6 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.2352, allocations: 258.4 kB / 422.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.2369, allocations: 1.663 MB / 424.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.2376, allocations: 290.5 kB / 424.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.2379, allocations: 108.8 kB / 424.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.2379, allocations: 3.984 kB / 424.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.2383, allocations: 163.8 kB / 425 MB, free: 13.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.854e-06/0.2383, allocations: 0 / 425 MB, free: 13.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001659/0.24, allocations: 0.6496 MB / 425.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.24, allocations: 89.09 kB / 425.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007179/0.2408, allocations: 0.9611 MB / 426.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.2408, allocations: 29.7 kB / 426.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.241, allocations: 340 kB / 427.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.241, allocations: 74.98 kB / 427.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.2411, allocations: 53.7 kB / 427.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.2412, allocations: 374.8 kB / 427.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.2415, allocations: 117 kB / 427.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.2418, allocations: 192.2 kB / 427.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.2423, allocations: 322.5 kB / 428.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2423, allocations: 0 / 428.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000997/0.2433, allocations: 0.4989 MB / 428.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.2434, allocations: 33.69 kB / 428.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2434, allocations: 7.938 kB / 428.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.2436, allocations: 61.05 kB / 428.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.2438, allocations: 59.83 kB / 428.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.2455, allocations: 1.97 MB / 430.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.2458, allocations: 43.75 kB / 430.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2458, allocations: 19.92 kB / 430.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003738/0.2462, allocations: 316.3 kB / 431.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002482/0.2465, allocations: 183.2 kB / 431.4 MB, free: 7.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004637/0.2469, allocations: 296.5 kB / 431.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.247, allocations: 0 / 431.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007103/0.2477, allocations: 442.9 kB / 432.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2477, allocations: 30.02 kB / 432.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2477, allocations: 11.98 kB / 432.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.2478, allocations: 44.84 kB / 432.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.248, allocations: 51.89 kB / 432.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009021/0.2489, allocations: 1.752 MB / 434 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.2492, allocations: 40 kB / 434 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2492, allocations: 16 kB / 434.1 MB, free: 4.383 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 8.623e-05/0.2493, allocations: 212.3 kB / 434.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.2494, allocations: 63.23 kB / 434.3 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008444/0.2502, allocations: 391.8 kB / 434.7 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2502, allocations: 4 kB / 434.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2503, allocations: 0 / 434.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2503, allocations: 3.984 kB / 434.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.2506, allocations: 485.1 kB / 435.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2506, allocations: 0 / 435.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.2508, allocations: 39.91 kB / 435.2 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/0.251, allocations: 72.81 kB / 435.3 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2511, allocations: 7.984 kB / 435.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.2526, allocations: 1.955 MB / 437.3 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2526, allocations: 0 / 437.3 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.2537, allocations: 0.5155 MB / 437.8 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.2538, allocations: 148.3 kB / 437.9 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.2539, allocations: 8 kB / 437.9 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.2541, allocations: 27.95 kB / 438 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.2542, allocations: 31.84 kB / 438 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.2542, allocations: 8 kB / 438 MB, free: 196 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007267/0.255, allocations: 0.706 MB / 438.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.255, allocations: 0 / 438.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006964/0.2557, allocations: 187.4 kB / 438.9 MB, free: 15.3 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.000825/0.2565, allocations: 371.9 kB / 439.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.2581, allocations: 0.7985 MB / 440 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2581, allocations: 0.8125 kB / 440 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.2587, allocations: 294.4 kB / 440.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.2591, allocations: 82.31 kB / 440.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.261, allocations: 1.317 MB / 441.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.2615, allocations: 0.9255 MB / 442.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.2617, allocations: 67.25 kB / 442.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.2618, allocations: 27.44 kB / 442.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2618, allocations: 0 / 442.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of Templates: time 0.0118/0.2736, allocations: 6.454 MB / 449.2 MB, free: 5.02 MB / 318.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)