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.001186/0.001186, allocations: 108.4 kB / 16.37 MB, free: 6.465 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.0009965/0.0009965, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04014/0.04014, allocations: 8.04 MB / 299.2 MB, free: 6.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 362.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2171, allocations: 51.19 MB / 413.3 MB, free: 26.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004312/0.2214, allocations: 3.177 MB / 416.4 MB, free: 22.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2225, allocations: 0.795 MB / 417.2 MB, free: 22.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.2227, allocations: 11.94 kB / 417.2 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.2231, allocations: 283 kB / 417.5 MB, free: 21.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.2235, allocations: 215 kB / 417.7 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.224, allocations: 290.4 kB / 418 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.2244, allocations: 499.1 kB / 418.5 MB, free: 20.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.2247, allocations: 194.8 kB / 418.7 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.2249, allocations: 211.3 kB / 418.9 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.2251, allocations: 283 kB / 419.2 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.2251, allocations: 40 kB / 419.2 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.2253, allocations: 75.98 kB / 419.3 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.2254, allocations: 191.4 kB / 419.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.2256, allocations: 286.2 kB / 419.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.2261, allocations: 0.7103 MB / 420.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2261, allocations: 3.938 kB / 420.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2261, allocations: 0 / 420.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.2261, allocations: 0 / 420.5 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.0013/0.2274, allocations: 1.021 MB / 421.5 MB, free: 17.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2274, allocations: 12.02 kB / 421.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.2275, allocations: 76 kB / 421.6 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.2281, allocations: 0.5314 MB / 422.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.2281, allocations: 32.58 kB / 422.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.2282, allocations: 40 kB / 422.2 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.2288, allocations: 369.2 kB / 422.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.2288, allocations: 7.906 kB / 422.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.2289, allocations: 20 kB / 422.6 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.2289, allocations: 4 kB / 422.6 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.2295, allocations: 266.3 kB / 422.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.2311, allocations: 1.655 MB / 424.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.2318, allocations: 290.5 kB / 424.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.2321, allocations: 112.8 kB / 424.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.2321, allocations: 3.984 kB / 424.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.2325, allocations: 163.8 kB / 425 MB, free: 14.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.2325, allocations: 0 / 425 MB, free: 14.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001525/0.234, allocations: 0.6415 MB / 425.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2341, allocations: 89.09 kB / 425.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/0.2348, allocations: 0.9611 MB / 426.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.2348, allocations: 37.64 kB / 426.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.235, allocations: 347.9 kB / 427.1 MB, free: 12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.235, allocations: 63.02 kB / 427.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.2351, allocations: 53.7 kB / 427.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.2352, allocations: 378.8 kB / 427.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.2355, allocations: 117 kB / 427.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.2358, allocations: 196.1 kB / 427.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.2363, allocations: 318.6 kB / 428.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2363, allocations: 0 / 428.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009466/0.2373, allocations: 0.5066 MB / 428.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.2373, allocations: 33.69 kB / 428.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2373, allocations: 7.938 kB / 428.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.2376, allocations: 61.05 kB / 428.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.2378, allocations: 55.89 kB / 428.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.2394, allocations: 1.97 MB / 430.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.2397, allocations: 51.73 kB / 430.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.2397, allocations: 12.06 kB / 430.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003726/0.2401, allocations: 312.3 kB / 431.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002499/0.2404, allocations: 187.2 kB / 431.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004455/0.2408, allocations: 296.5 kB / 431.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.2408, allocations: 0 / 431.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006872/0.2415, allocations: 437.6 kB / 432.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2416, allocations: 34 kB / 432.1 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2416, allocations: 8 kB / 432.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001127/0.2417, allocations: 44.78 kB / 432.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.2419, allocations: 51.95 kB / 432.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009295/0.2428, allocations: 1.756 MB / 434 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2431, allocations: 31.83 kB / 434 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.2431, allocations: 16.19 kB / 434.1 MB, free: 4.555 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.0001169/0.2432, allocations: 210.7 kB / 434.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.2433, allocations: 59.25 kB / 434.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008295/0.2441, allocations: 391.8 kB / 434.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2442, allocations: 4 kB / 434.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.2442, allocations: 3.984 kB / 434.7 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2442, allocations: 3.984 kB / 434.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.2445, allocations: 489.1 kB / 435.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2445, allocations: 0 / 435.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.2447, allocations: 31.97 kB / 435.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.2449, allocations: 84.69 kB / 435.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.245, allocations: 7.984 kB / 435.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.2465, allocations: 1.951 MB / 437.3 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2465, allocations: 4.031 kB / 437.3 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.2475, allocations: 0.5233 MB / 437.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.2477, allocations: 148.3 kB / 437.9 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.2478, allocations: 8 kB / 437.9 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.248, allocations: 23.95 kB / 438 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.2481, allocations: 31.91 kB / 438 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.2481, allocations: 4 kB / 438 MB, free: 368 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006588/0.2487, allocations: 0.7099 MB / 438.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2487, allocations: 0 / 438.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007158/0.2495, allocations: 183.4 kB / 438.9 MB, free: 15.47 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.0007879/0.2503, allocations: 373.2 kB / 439.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.252, allocations: 0.7985 MB / 440 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.252, allocations: 4.812 kB / 440.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.2526, allocations: 282.6 kB / 440.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.2531, allocations: 78.92 kB / 440.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.2553, allocations: 1.337 MB / 441.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.2558, allocations: 0.9217 MB / 442.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.256, allocations: 67.25 kB / 442.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.2561, allocations: 27.44 kB / 442.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2561, allocations: 0 / 442.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of Templates: time 0.01239/0.2685, allocations: 6.455 MB / 449.2 MB, free: 5.191 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 gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)