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.001279/0.001279, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001404/0.001404, allocations: 194.9 kB / 16.25 MB, free: 6.629 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.147/0.147, allocations: 8.025 MB / 298.1 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 59.91 kB / 360.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08614/0.08731, allocations: 51.19 MB / 411.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004296/0.09164, allocations: 3.215 MB / 414.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.09293, allocations: 0.7795 MB / 415.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.0931, allocations: 7.938 kB / 415.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.09355, allocations: 275.3 kB / 415.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.09391, allocations: 195.3 kB / 415.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.09446, allocations: 263.3 kB / 416 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.09492, allocations: 499.1 kB / 416.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.09524, allocations: 195.1 kB / 416.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.09545, allocations: 211.3 kB / 416.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.09573, allocations: 291 kB / 417.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.09579, allocations: 36 kB / 417.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.09598, allocations: 75.97 kB / 417.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.09619, allocations: 179.5 kB / 417.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.09642, allocations: 302.1 kB / 417.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.09701, allocations: 0.6929 MB / 418.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.09702, allocations: 0 / 418.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09703, allocations: 0 / 418.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.09705, allocations: 3.938 kB / 418.5 MB, free: 4.234 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.00142/0.09847, allocations: 1.021 MB / 419.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.09851, allocations: 8.031 kB / 419.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.09863, allocations: 76 kB / 419.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.09921, allocations: 0.5314 MB / 420.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.09925, allocations: 24.59 kB / 420.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.09931, allocations: 32 kB / 420.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.1, allocations: 381.2 kB / 420.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.1001, allocations: 3.906 kB / 420.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.1002, allocations: 12 kB / 420.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1002, allocations: 12 kB / 420.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.1009, allocations: 262.4 kB / 420.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1702/0.2711, allocations: 1.667 MB / 422.5 MB, free: 44.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/0.272, allocations: 284.1 kB / 422.8 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.2723, allocations: 109.8 kB / 422.9 MB, free: 44.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.2723, allocations: 3.25 kB / 422.9 MB, free: 44.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004303/0.2728, allocations: 163.4 kB / 423 MB, free: 44.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.2728, allocations: 5.219 kB / 423 MB, free: 44.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001724/0.2745, allocations: 0.6408 MB / 423.7 MB, free: 43.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.2746, allocations: 84.41 kB / 423.8 MB, free: 43.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007868/0.2754, allocations: 0.9659 MB / 424.7 MB, free: 43.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.2754, allocations: 35.95 kB / 424.8 MB, free: 43.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.2756, allocations: 342.6 kB / 425.1 MB, free: 43.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.2756, allocations: 70.75 kB / 425.2 MB, free: 43.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.2757, allocations: 53.14 kB / 425.2 MB, free: 43.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.2758, allocations: 383.4 kB / 425.6 MB, free: 43.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.2761, allocations: 112.6 kB / 425.7 MB, free: 43.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.2764, allocations: 194.9 kB / 425.9 MB, free: 43.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.2769, allocations: 320.2 kB / 426.2 MB, free: 43.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2769, allocations: 3.234 kB / 426.2 MB, free: 43.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009992/0.2779, allocations: 0.4983 MB / 426.7 MB, free: 42.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.278, allocations: 35.69 kB / 426.7 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.278, allocations: 3.219 kB / 426.8 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.2782, allocations: 59.56 kB / 426.8 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.2784, allocations: 51.64 kB / 426.9 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.2801, allocations: 1.977 MB / 428.8 MB, free: 41.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.2804, allocations: 47.41 kB / 428.9 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2804, allocations: 9.062 kB / 428.9 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003793/0.2808, allocations: 314.5 kB / 429.2 MB, free: 41.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002552/0.2811, allocations: 182.6 kB / 429.4 MB, free: 41.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004722/0.2816, allocations: 311.8 kB / 429.7 MB, free: 40.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.083e-06/0.2816, allocations: 0 / 429.7 MB, free: 40.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007105/0.2823, allocations: 428.1 kB / 430.1 MB, free: 40.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2823, allocations: 35.31 kB / 430.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2824, allocations: 7.312 kB / 430.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.2825, allocations: 52.73 kB / 430.2 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.2827, allocations: 50.86 kB / 430.2 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009236/0.2836, allocations: 1.768 MB / 432 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.2839, allocations: 35.31 kB / 432 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.2839, allocations: 13.41 kB / 432.1 MB, free: 38.94 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.031e-05/0.284, allocations: 195 kB / 432.2 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.284, allocations: 59.44 kB / 432.3 MB, free: 38.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008437/0.2849, allocations: 395.7 kB / 432.7 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2849, allocations: 3.406 kB / 432.7 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.2849, allocations: 0.5156 kB / 432.7 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2849, allocations: 3.188 kB / 432.7 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.2853, allocations: 495.5 kB / 433.2 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2853, allocations: 0 / 433.2 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.2855, allocations: 43.69 kB / 433.2 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.2857, allocations: 66.27 kB / 433.3 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2857, allocations: 10.34 kB / 433.3 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.2873, allocations: 1.962 MB / 435.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2873, allocations: 3.828 kB / 435.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.2883, allocations: 0.5067 MB / 435.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.942e-05/0.2884, allocations: 155.6 kB / 435.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.2885, allocations: 0 / 435.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2887, allocations: 34.81 kB / 436 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2888, allocations: 27.31 kB / 436 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.2889, allocations: 6.797 kB / 436 MB, free: 36.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000709/0.2896, allocations: 0.7064 MB / 436.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2896, allocations: 0 / 436.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000857/0.2904, allocations: 190.3 kB / 436.9 MB, free: 35.89 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.001064/0.2915, allocations: 359.6 kB / 437.2 MB, free: 35.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.2933, allocations: 0.809 MB / 438 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2934, allocations: 3.094 kB / 438 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.2939, allocations: 294 kB / 438.3 MB, free: 35.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.2945, allocations: 93.3 kB / 438.4 MB, free: 35.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2963, allocations: 1.533 MB / 440 MB, free: 34.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.2967, allocations: 0.927 MB / 440.9 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.2969, allocations: 56.58 kB / 440.9 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.297, allocations: 33.75 kB / 441 MB, free: 33.51 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.297, allocations: 0 / 441 MB, free: 33.51 MB / 350.1 MB Notification: Performance of Templates: time 0.01013/0.3072, allocations: 6.312 MB / 447.3 MB, free: 33.07 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)