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.0008877/0.0008878, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005092/0.005092, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.136/0.136, allocations: 8.025 MB / 299.5 MB, free: 3.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002726, allocations: 8 kB / 362.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07676/0.07705, allocations: 52.18 MB / 414.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003286/0.08036, allocations: 2.834 MB / 417.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.08165, allocations: 0.7758 MB / 418.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.08183, allocations: 11.94 kB / 418.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.08224, allocations: 263.3 kB / 418.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.08259, allocations: 199.2 kB / 418.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.08316, allocations: 267 kB / 418.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.08362, allocations: 463.1 kB / 419.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.08392, allocations: 178.7 kB / 419.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.08415, allocations: 183.2 kB / 419.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.08444, allocations: 235.2 kB / 419.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.08449, allocations: 15.94 kB / 420 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.0846, allocations: 43.98 kB / 420 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.0848, allocations: 159.4 kB / 420.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.08504, allocations: 283.9 kB / 420.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.08563, allocations: 0.6537 MB / 421.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.08564, allocations: 4 kB / 421.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08565, allocations: 0 / 421.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.08567, allocations: 0 / 421.1 MB, free: 3.176 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001389/0.08706, allocations: 0.9201 MB / 422 MB, free: 2.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.0871, allocations: 12.03 kB / 422 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.08722, allocations: 76 kB / 422.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.08784, allocations: 0.5197 MB / 422.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.08788, allocations: 28.59 kB / 422.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.08795, allocations: 35.91 kB / 422.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.08872, allocations: 401.2 kB / 423.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.08874, allocations: 0 / 423.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.08878, allocations: 12 kB / 423.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.0888, allocations: 8 kB / 423.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007901/0.08959, allocations: 302.3 kB / 423.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1475/0.2371, allocations: 1.688 MB / 425.1 MB, free: 40.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.2381, allocations: 323.8 kB / 425.4 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.2384, allocations: 126.2 kB / 425.5 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.2384, allocations: 2.938 kB / 425.5 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004428/0.2389, allocations: 180.8 kB / 425.7 MB, free: 40.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.2389, allocations: 0 / 425.7 MB, free: 40.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001939/0.2408, allocations: 0.7398 MB / 426.4 MB, free: 40.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.2409, allocations: 84.78 kB / 426.5 MB, free: 40.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.2417, allocations: 0.9711 MB / 427.5 MB, free: 40.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.2418, allocations: 29.2 kB / 427.5 MB, free: 40.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.242, allocations: 347.1 kB / 427.9 MB, free: 40.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.242, allocations: 67.06 kB / 427.9 MB, free: 40.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.2421, allocations: 32.09 kB / 427.9 MB, free: 40.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.2421, allocations: 382.6 kB / 428.3 MB, free: 39.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.2425, allocations: 122.4 kB / 428.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.2428, allocations: 206.7 kB / 428.6 MB, free: 39.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.2435, allocations: 359.5 kB / 429 MB, free: 39.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2435, allocations: 0 / 429 MB, free: 39.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001166/0.2447, allocations: 0.5529 MB / 429.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.2447, allocations: 193.8 kB / 429.7 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2448, allocations: 2.906 kB / 429.7 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.245, allocations: 64.3 kB / 429.8 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.2452, allocations: 54.47 kB / 429.9 MB, free: 39.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.247, allocations: 1.862 MB / 431.7 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.2473, allocations: 53.31 kB / 431.8 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2474, allocations: 13.25 kB / 431.8 MB, free: 37.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.069e-06/0.2474, allocations: 3.188 kB / 431.8 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007534/0.2481, allocations: 387.5 kB / 432.2 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.2482, allocations: 3.344 kB / 432.2 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.2483, allocations: 52.03 kB / 432.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.2485, allocations: 58.44 kB / 432.3 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008739/0.2494, allocations: 1.59 MB / 433.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.2496, allocations: 40.66 kB / 433.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2497, allocations: 9.141 kB / 433.9 MB, free: 36.54 MB / 350.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 0.0002403/0.2499, allocations: 340.1 kB / 434.2 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.25, allocations: 66.59 kB / 434.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009716/0.251, allocations: 445 kB / 434.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.251, allocations: 7.516 kB / 434.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.251, allocations: 0 / 434.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.251, allocations: 0 / 434.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.2513, allocations: 485.3 kB / 435.2 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2513, allocations: 4.516 kB / 435.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.2516, allocations: 45.92 kB / 435.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.2518, allocations: 83.8 kB / 435.4 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.2518, allocations: 3.938 kB / 435.4 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.2535, allocations: 1.845 MB / 437.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2535, allocations: 0 / 437.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.2548, allocations: 0.576 MB / 437.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.2549, allocations: 158.5 kB / 437.9 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.255, allocations: 7.75 kB / 437.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.2552, allocations: 33.81 kB / 438 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.2553, allocations: 24.09 kB / 438 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2553, allocations: 6.031 kB / 438 MB, free: 34.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005789/0.2559, allocations: 0.7095 MB / 438.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2559, allocations: 4 kB / 438.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006368/0.2565, allocations: 188.2 kB / 438.9 MB, free: 34.27 MB / 350.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.0007214/0.2573, allocations: 364.2 kB / 439.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.2588, allocations: 0.8596 MB / 440.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2588, allocations: 0 / 440.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.2594, allocations: 334 kB / 440.4 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.2598, allocations: 83.09 kB / 440.5 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2614, allocations: 1.603 MB / 442.1 MB, free: 32.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.2617, allocations: 0.9235 MB / 443.1 MB, free: 31.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.2619, allocations: 60.39 kB / 443.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.2619, allocations: 32.72 kB / 443.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.262, allocations: 0 / 443.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of Templates: time 0.009068/0.271, allocations: 5.923 MB / 449.1 MB, free: 31.49 MB / 350.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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)