Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001351/0.001351, allocations: 108 kB / 15.58 MB, free: 184 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 193.8 kB / 16.5 MB, free: 6.699 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1858/0.1858, allocations: 8.026 MB / 298.4 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.89 kB / 360.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1161, allocations: 51.18 MB / 411.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004946/0.1211, allocations: 3.181 MB / 414.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1225, allocations: 0.7989 MB / 415.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.1227, allocations: 8 kB / 415.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.1232, allocations: 287 kB / 416 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.1236, allocations: 219 kB / 416.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.1242, allocations: 287 kB / 416.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000477/0.1247, allocations: 495.2 kB / 417 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.1251, allocations: 199.1 kB / 417.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.1253, allocations: 219.2 kB / 417.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.1256, allocations: 279.1 kB / 417.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.1257, allocations: 40 kB / 417.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1258, allocations: 71.92 kB / 417.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.126, allocations: 191.4 kB / 418 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.1262, allocations: 290.2 kB / 418.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.1269, allocations: 0.6968 MB / 419 MB, free: 3.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1269, allocations: 0 / 419 MB, free: 3.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1269, allocations: 0 / 419 MB, free: 3.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1269, allocations: 0 / 419 MB, free: 3.84 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.00157/0.1285, allocations: 1.021 MB / 420 MB, free: 2.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1285, allocations: 12.03 kB / 420 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1287, allocations: 72 kB / 420.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.1294, allocations: 0.5275 MB / 420.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.1294, allocations: 24.59 kB / 420.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.1295, allocations: 32 kB / 420.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.1301, allocations: 377.2 kB / 421 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1302, allocations: 11.89 kB / 421 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.1302, allocations: 12 kB / 421 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1302, allocations: 8 kB / 421 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000662/0.1309, allocations: 266.3 kB / 421.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1893/0.3202, allocations: 1.668 MB / 423 MB, free: 43.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.3211, allocations: 282.6 kB / 423.2 MB, free: 43.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.3214, allocations: 109.7 kB / 423.3 MB, free: 43.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.3214, allocations: 0 / 423.3 MB, free: 43.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000467/0.3219, allocations: 170.5 kB / 423.5 MB, free: 43.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/0.3219, allocations: 0 / 423.5 MB, free: 43.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001721/0.3236, allocations: 0.6431 MB / 424.2 MB, free: 43.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3237, allocations: 83.48 kB / 424.2 MB, free: 43.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/0.3246, allocations: 0.9731 MB / 425.2 MB, free: 43.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.3246, allocations: 34.83 kB / 425.2 MB, free: 43.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.3248, allocations: 338.5 kB / 425.6 MB, free: 43.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.3249, allocations: 69.2 kB / 425.6 MB, free: 43.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.325, allocations: 57.72 kB / 425.7 MB, free: 43.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3251, allocations: 383 kB / 426.1 MB, free: 42.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.3254, allocations: 114.5 kB / 426.2 MB, free: 42.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.3257, allocations: 192.8 kB / 426.4 MB, free: 42.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.3263, allocations: 318.8 kB / 426.7 MB, free: 42.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3263, allocations: 2.156 kB / 426.7 MB, free: 42.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009919/0.3273, allocations: 0.4952 MB / 427.2 MB, free: 42.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.3273, allocations: 35.48 kB / 427.2 MB, free: 42.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3273, allocations: 10.53 kB / 427.2 MB, free: 42.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.3276, allocations: 64.22 kB / 427.3 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3278, allocations: 47.45 kB / 427.3 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.3296, allocations: 1.98 MB / 429.3 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.3299, allocations: 42.45 kB / 429.4 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.3299, allocations: 14.14 kB / 429.4 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004099/0.3303, allocations: 313.5 kB / 429.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000263/0.3306, allocations: 193.5 kB / 429.9 MB, free: 40.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004726/0.3311, allocations: 303.5 kB / 430.2 MB, free: 40.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.3311, allocations: 0 / 430.2 MB, free: 40.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007397/0.3318, allocations: 434.3 kB / 430.6 MB, free: 40.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3319, allocations: 32.05 kB / 430.6 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3319, allocations: 6.641 kB / 430.6 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.332, allocations: 44.61 kB / 430.7 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.3322, allocations: 49.52 kB / 430.7 MB, free: 40.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009889/0.3332, allocations: 1.766 MB / 432.5 MB, free: 38.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.3334, allocations: 41.27 kB / 432.5 MB, free: 38.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.3335, allocations: 13.25 kB / 432.5 MB, free: 38.38 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 9.579e-05/0.3336, allocations: 201.1 kB / 432.7 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.3336, allocations: 56.97 kB / 432.8 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009006/0.3345, allocations: 396.6 kB / 433.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3346, allocations: 10.52 kB / 433.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3346, allocations: 1.375 kB / 433.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3346, allocations: 1.359 kB / 433.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.335, allocations: 485.5 kB / 433.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.335, allocations: 3.219 kB / 433.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.3352, allocations: 36.62 kB / 433.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.3354, allocations: 78.66 kB / 433.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3354, allocations: 7.75 kB / 433.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.337, allocations: 1.95 MB / 435.7 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.337, allocations: 9.234 kB / 435.7 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.338, allocations: 0.5124 MB / 436.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.3382, allocations: 150.6 kB / 436.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.3382, allocations: 4 kB / 436.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.3385, allocations: 22.53 kB / 436.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.3386, allocations: 26.77 kB / 436.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3386, allocations: 6.859 kB / 436.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005678/0.3391, allocations: 0.7077 MB / 437.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3392, allocations: 7.406 kB / 437.2 MB, free: 35.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006475/0.3398, allocations: 191.9 kB / 437.4 MB, free: 35.32 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.0007953/0.3406, allocations: 365.5 kB / 437.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.342, allocations: 0.8143 MB / 438.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.342, allocations: 0 / 438.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.3425, allocations: 291.3 kB / 438.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.343, allocations: 78.59 kB / 438.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.3446, allocations: 1.343 MB / 440.2 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3449, allocations: 0.9243 MB / 441.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00015/0.3451, allocations: 64.03 kB / 441.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.3452, allocations: 34.16 kB / 441.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3452, allocations: 0 / 441.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of Templates: time 0.009939/0.3551, allocations: 6.441 MB / 447.7 MB, free: 32.7 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)