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.001447/0.001447, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001279/0.001279, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0405/0.0405, allocations: 8.043 MB / 299.1 MB, free: 6.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 59.91 kB / 361.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2277, allocations: 51.19 MB / 412.5 MB, free: 26.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003989/0.2317, allocations: 3.177 MB / 415.7 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2329, allocations: 0.7911 MB / 416.5 MB, free: 22.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.2331, allocations: 15.94 kB / 416.5 MB, free: 22.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.2336, allocations: 287 kB / 416.7 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.2339, allocations: 219 kB / 417 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.2345, allocations: 282.3 kB / 417.2 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.2348, allocations: 0.4912 MB / 417.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.2351, allocations: 196.8 kB / 417.9 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.2353, allocations: 211.3 kB / 418.1 MB, free: 20.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.2356, allocations: 287 kB / 418.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.2356, allocations: 40 kB / 418.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2357, allocations: 67.98 kB / 418.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.2359, allocations: 187.4 kB / 418.7 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.2361, allocations: 290.1 kB / 419 MB, free: 19.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.2365, allocations: 0.693 MB / 419.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2366, allocations: 0 / 419.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2366, allocations: 3.984 kB / 419.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2366, allocations: 0 / 419.7 MB, free: 18.95 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.001255/0.2378, allocations: 1.025 MB / 420.7 MB, free: 17.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2379, allocations: 15.97 kB / 420.7 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.238, allocations: 72 kB / 420.8 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.2385, allocations: 0.5314 MB / 421.3 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2385, allocations: 28.59 kB / 421.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.2386, allocations: 35.98 kB / 421.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.2392, allocations: 373.2 kB / 421.7 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2392, allocations: 11.91 kB / 421.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.2392, allocations: 12 kB / 421.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2393, allocations: 8 kB / 421.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.2399, allocations: 262.4 kB / 422 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.2416, allocations: 1.671 MB / 423.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007998/0.2424, allocations: 290.5 kB / 424 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.2427, allocations: 104.8 kB / 424.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.2428, allocations: 8 kB / 424.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/0.2432, allocations: 163.2 kB / 424.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 2.454e-06/0.2432, allocations: 0 / 424.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001774/0.245, allocations: 0.6462 MB / 424.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.2451, allocations: 85.11 kB / 425 MB, free: 13.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007459/0.2458, allocations: 0.9572 MB / 425.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2458, allocations: 33.7 kB / 426 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.246, allocations: 343.9 kB / 426.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.2461, allocations: 74.98 kB / 426.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.2462, allocations: 49.7 kB / 426.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.2463, allocations: 382.8 kB / 426.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.2466, allocations: 109.1 kB / 426.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.2469, allocations: 200.1 kB / 427.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.2475, allocations: 318.6 kB / 427.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2475, allocations: 0 / 427.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001092/0.2486, allocations: 0.5027 MB / 427.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.2487, allocations: 29.7 kB / 428 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2487, allocations: 12.16 kB / 428 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.2489, allocations: 64.75 kB / 428 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.2491, allocations: 51.95 kB / 428.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.251, allocations: 1.982 MB / 430.1 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.2513, allocations: 39.75 kB / 430.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.2513, allocations: 16 kB / 430.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004276/0.2517, allocations: 308.3 kB / 430.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002748/0.252, allocations: 187.3 kB / 430.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005048/0.2525, allocations: 308.4 kB / 430.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.2525, allocations: 0 / 430.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000784/0.2533, allocations: 437.7 kB / 431.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2534, allocations: 29.7 kB / 431.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2534, allocations: 4 kB / 431.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.2535, allocations: 44.83 kB / 431.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.2537, allocations: 55.89 kB / 431.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009414/0.2547, allocations: 1.756 MB / 433.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.2549, allocations: 35.81 kB / 433.3 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.255, allocations: 19.98 kB / 433.3 MB, free: 4.547 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 0.0001019/0.2551, allocations: 201 kB / 433.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.2551, allocations: 59.25 kB / 433.5 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009373/0.2561, allocations: 395.9 kB / 433.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2561, allocations: 8 kB / 433.9 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.2561, allocations: 3.938 kB / 433.9 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2561, allocations: 0 / 433.9 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.2565, allocations: 489.1 kB / 434.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2565, allocations: 0 / 434.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.2567, allocations: 31.97 kB / 434.4 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.2569, allocations: 80.8 kB / 434.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.257, allocations: 4 kB / 434.5 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.2586, allocations: 1.955 MB / 436.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2586, allocations: 0 / 436.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.2597, allocations: 0.5267 MB / 437 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.2599, allocations: 148.3 kB / 437.1 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.2599, allocations: 8 kB / 437.1 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.2601, allocations: 23.97 kB / 437.2 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.2602, allocations: 31.84 kB / 437.2 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.2603, allocations: 7.984 kB / 437.2 MB, free: 364 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006796/0.2609, allocations: 0.7061 MB / 437.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2609, allocations: 4 kB / 437.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007328/0.2617, allocations: 187.4 kB / 438.1 MB, free: 15.46 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.0008532/0.2625, allocations: 372.9 kB / 438.5 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.2643, allocations: 0.8102 MB / 439.3 MB, free: 14.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2643, allocations: 3.938 kB / 439.3 MB, free: 14.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.265, allocations: 283.4 kB / 439.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.2655, allocations: 82.88 kB / 439.6 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.2676, allocations: 1.378 MB / 441 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.2681, allocations: 0.9255 MB / 441.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/0.2682, allocations: 27.44 kB / 442 MB, free: 11.61 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2682, allocations: 0 / 442 MB, free: 11.61 MB / 318.1 MB Notification: Performance of Templates: time 0.01274/0.281, allocations: 9.287 MB / 451.3 MB, free: 2.316 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 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)