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.001413/0.001413, allocations: 103.9 kB / 15.98 MB, free: 6.348 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.001595/0.001595, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04365/0.04365, allocations: 8.041 MB / 298.8 MB, free: 7.066 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 60.09 kB / 360.8 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2226, allocations: 51.19 MB / 412 MB, free: 26.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003746/0.2264, allocations: 3.225 MB / 415.2 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2274, allocations: 0.7718 MB / 416 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.2276, allocations: 11.94 kB / 416 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.2281, allocations: 263.3 kB / 416.2 MB, free: 22.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.2284, allocations: 199.3 kB / 416.4 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.229, allocations: 265.1 kB / 416.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.2293, allocations: 495.1 kB / 417.2 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.2296, allocations: 200.9 kB / 417.4 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.2298, allocations: 211.3 kB / 417.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.23, allocations: 287.1 kB / 417.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.23, allocations: 40 kB / 417.9 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2301, allocations: 71.86 kB / 418 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2303, allocations: 187.5 kB / 418.2 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.2304, allocations: 298.1 kB / 418.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.2308, allocations: 0.5575 MB / 419 MB, free: 19.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2308, allocations: 0 / 419 MB, free: 19.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2308, allocations: 0 / 419 MB, free: 19.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.2308, allocations: 0 / 419 MB, free: 19.48 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.001277/0.2321, allocations: 1.009 MB / 420 MB, free: 18.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2322, allocations: 16.03 kB / 420 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.924e-05/0.2323, allocations: 72 kB / 420.1 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.2328, allocations: 0.5353 MB / 420.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.2328, allocations: 24.59 kB / 420.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.2329, allocations: 32 kB / 420.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.2335, allocations: 377.3 kB / 421.1 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.2335, allocations: 11.83 kB / 421.1 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.2336, allocations: 12 kB / 421.1 MB, free: 17.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2336, allocations: 8 kB / 421.1 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.2342, allocations: 266.4 kB / 421.3 MB, free: 17.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.2358, allocations: 1.659 MB / 423 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.2366, allocations: 302.4 kB / 423.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.2369, allocations: 108.8 kB / 423.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.2369, allocations: 4 kB / 423.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.2374, allocations: 160 kB / 423.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.2374, allocations: 0 / 423.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001658/0.239, allocations: 0.6533 MB / 424.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2391, allocations: 85.09 kB / 424.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.2398, allocations: 0.965 MB / 425.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2399, allocations: 29.7 kB / 425.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.24, allocations: 343.9 kB / 425.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.2401, allocations: 71.02 kB / 425.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.2402, allocations: 49.7 kB / 425.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.2403, allocations: 378.8 kB / 426.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.2406, allocations: 113 kB / 426.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.2409, allocations: 191.6 kB / 426.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.2414, allocations: 322.5 kB / 426.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2415, allocations: 0 / 426.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00101/0.2425, allocations: 0.5029 MB / 427.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.2425, allocations: 33.69 kB / 427.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2425, allocations: 7.938 kB / 427.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.2428, allocations: 60.77 kB / 427.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.243, allocations: 55.89 kB / 427.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.2448, allocations: 1.978 MB / 429.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.2451, allocations: 39.75 kB / 429.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.2452, allocations: 19.98 kB / 429.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004321/0.2456, allocations: 316.2 kB / 429.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002621/0.2459, allocations: 179.1 kB / 429.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004795/0.2464, allocations: 300.5 kB / 430.2 MB, free: 7.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.2464, allocations: 0 / 430.2 MB, free: 7.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007313/0.2471, allocations: 441.6 kB / 430.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.2472, allocations: 36.03 kB / 430.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2472, allocations: 4 kB / 430.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.2473, allocations: 49.16 kB / 430.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.2475, allocations: 51.89 kB / 430.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009732/0.2485, allocations: 1.764 MB / 432.5 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.2488, allocations: 35.83 kB / 432.6 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.2488, allocations: 12 kB / 432.6 MB, free: 5.086 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.0001211/0.2489, allocations: 212.1 kB / 432.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.249, allocations: 59.25 kB / 432.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.2499, allocations: 391.8 kB / 433.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2499, allocations: 4 kB / 433.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.2499, allocations: 0 / 433.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2499, allocations: 3.984 kB / 433.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.2503, allocations: 485.1 kB / 433.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2503, allocations: 0 / 433.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.2505, allocations: 39.91 kB / 433.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.2507, allocations: 72.81 kB / 433.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2507, allocations: 7.984 kB / 433.8 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.2523, allocations: 1.955 MB / 435.8 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2523, allocations: 4.062 kB / 435.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.2534, allocations: 0.5112 MB / 436.3 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/0.2535, allocations: 148.3 kB / 436.4 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.2536, allocations: 8 kB / 436.5 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.2538, allocations: 27.95 kB / 436.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.2539, allocations: 27.91 kB / 436.5 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2539, allocations: 12 kB / 436.5 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005656/0.2545, allocations: 0.7021 MB / 437.2 MB, free: 204 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2545, allocations: 0 / 437.2 MB, free: 204 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007107/0.2552, allocations: 191.4 kB / 437.4 MB, free: 12 kB / 302.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.0008481/0.2561, allocations: 376.7 kB / 437.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.2578, allocations: 0.8067 MB / 438.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.2578, allocations: 4.188 kB / 438.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005834/0.2584, allocations: 286.5 kB / 438.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.2589, allocations: 82.33 kB / 439 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.2611, allocations: 1.564 MB / 440.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.2616, allocations: 0.9217 MB / 441.4 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/0.2617, allocations: 31.44 kB / 441.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2617, allocations: 4 kB / 441.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of Templates: time 0.01259/0.2743, allocations: 9.281 MB / 450.8 MB, free: 2.676 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)