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.001137/0.001137, 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.001191/0.001191, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1618/0.1618, allocations: 8.331 MB / 298.4 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.91 kB / 360.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.09078, allocations: 51.26 MB / 411.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004877/0.09569, allocations: 3.454 MB / 415.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.09763, allocations: 0.9588 MB / 416.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.098, allocations: 11.94 kB / 416.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.09862, allocations: 307.2 kB / 416.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.09908, allocations: 239.2 kB / 416.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007882/0.09988, allocations: 310.9 kB / 417 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.1004, allocations: 0.5225 MB / 417.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.1008, allocations: 213.9 kB / 417.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.101, allocations: 235.1 kB / 418 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.1014, allocations: 323 kB / 418.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.1014, allocations: 44 kB / 418.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.1016, allocations: 103.9 kB / 418.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.1018, allocations: 215.3 kB / 418.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.1021, allocations: 322 kB / 419 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007498/0.1029, allocations: 0.7747 MB / 419.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1029, allocations: 4 kB / 419.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1029, allocations: 0 / 419.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1029, allocations: 0 / 419.7 MB, free: 2.98 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001594/0.1045, allocations: 1.091 MB / 420.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.1046, allocations: 8.031 kB / 420.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.1047, allocations: 87.91 kB / 420.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.1054, allocations: 0.5663 MB / 421.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1054, allocations: 24.59 kB / 421.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.1055, allocations: 39.91 kB / 421.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.1062, allocations: 358.7 kB / 421.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.1063, allocations: 4 kB / 421.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.1063, allocations: 16 kB / 421.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1063, allocations: 8 kB / 421.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.107, allocations: 258.4 kB / 422.2 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.158/0.265, allocations: 1.569 MB / 423.8 MB, free: 43.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.2658, allocations: 263.5 kB / 424 MB, free: 43.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.2661, allocations: 110.7 kB / 424.1 MB, free: 43.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.2661, allocations: 4.172 kB / 424.1 MB, free: 43.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/0.2666, allocations: 162.1 kB / 424.3 MB, free: 43.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.575e-06/0.2666, allocations: 3.438 kB / 424.3 MB, free: 43.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001597/0.2682, allocations: 0.5672 MB / 424.9 MB, free: 43.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2683, allocations: 54.69 kB / 424.9 MB, free: 43.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009977/0.2693, allocations: 1.11 MB / 426 MB, free: 43.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2693, allocations: 32.3 kB / 426 MB, free: 43.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.2695, allocations: 372.1 kB / 426.4 MB, free: 43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.2696, allocations: 76.91 kB / 426.5 MB, free: 42.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.633e-05/0.2697, allocations: 49.69 kB / 426.5 MB, free: 42.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.2697, allocations: 320.4 kB / 426.8 MB, free: 42.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.27, allocations: 94.44 kB / 426.9 MB, free: 42.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.2703, allocations: 156.2 kB / 427.1 MB, free: 42.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.2708, allocations: 284.9 kB / 427.4 MB, free: 42.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2708, allocations: 0 / 427.4 MB, free: 42.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008347/0.2717, allocations: 439.3 kB / 427.8 MB, free: 42.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.2717, allocations: 36.58 kB / 427.8 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2717, allocations: 3.188 kB / 427.8 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/0.272, allocations: 58.66 kB / 427.9 MB, free: 42.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.2722, allocations: 54.31 kB / 427.9 MB, free: 42.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.2736, allocations: 1.822 MB / 429.8 MB, free: 40.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.2739, allocations: 47.72 kB / 429.8 MB, free: 40.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.274, allocations: 10.22 kB / 429.8 MB, free: 40.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0002745/0.2742, allocations: 275.7 kB / 430.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.2743, allocations: 67.03 kB / 430.2 MB, free: 40.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008069/0.2751, allocations: 380.6 kB / 430.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2751, allocations: 3.812 kB / 430.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.2752, allocations: 0 / 430.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2752, allocations: 0 / 430.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.2756, allocations: 0.5103 MB / 431 MB, free: 39.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2757, allocations: 11.09 kB / 431.1 MB, free: 39.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.2759, allocations: 37.39 kB / 431.1 MB, free: 39.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000189/0.2761, allocations: 57.19 kB / 431.1 MB, free: 39.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2761, allocations: 8.641 kB / 431.2 MB, free: 39.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.2774, allocations: 1.829 MB / 433 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2774, allocations: 0 / 433 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009764/0.2784, allocations: 495.5 kB / 433.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.2785, allocations: 154.9 kB / 433.6 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.2786, allocations: 3.375 kB / 433.6 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2788, allocations: 21.59 kB / 433.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.2789, allocations: 23.73 kB / 433.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.2789, allocations: 11.22 kB / 433.7 MB, free: 37.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006977/0.2796, allocations: 0.8179 MB / 434.5 MB, free: 37.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2796, allocations: 3.281 kB / 434.5 MB, free: 37.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.2801, allocations: 115 kB / 434.6 MB, free: 37.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,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 (16): * Single equations (assignments): 13 * 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.001296/0.2814, allocations: 0.6 MB / 435.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008532/0.2822, allocations: 431.6 kB / 435.6 MB, free: 37.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2823, allocations: 3.094 kB / 435.6 MB, free: 37.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.2826, allocations: 244.1 kB / 435.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.2831, allocations: 104.7 kB / 436 MB, free: 36.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.2849, allocations: 1.664 MB / 437.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2852, allocations: 0.9498 MB / 438.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.2853, allocations: 65.91 kB / 438.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.2854, allocations: 37.09 kB / 438.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2854, allocations: 0 / 438.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of Templates: time 0.009302/0.2947, allocations: 6.23 MB / 444.9 MB, free: 34.68 MB / 350.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)