Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000783/0.0007834, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004341/0.004341, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1583/0.1583, allocations: 7.67 MB / 299.1 MB, free: 3.367 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002824, allocations: 15.98 kB / 362 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.0995, allocations: 52.15 MB / 414.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConnOO): time 0.004649/0.1042, allocations: 3.303 MB / 417.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.106, allocations: 1.01 MB / 418.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.1062, allocations: 4 kB / 418.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.1067, allocations: 319.1 kB / 418.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1072, allocations: 243 kB / 419 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.1079, allocations: 334.9 kB / 419.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.1085, allocations: 0.5618 MB / 419.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.109, allocations: 266.8 kB / 420.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.1093, allocations: 211 kB / 420.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.1097, allocations: 306.7 kB / 420.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.1097, allocations: 20 kB / 420.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1099, allocations: 71.97 kB / 420.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.1101, allocations: 203.3 kB / 421 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.1105, allocations: 339.4 kB / 421.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008123/0.1113, allocations: 0.8288 MB / 422.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1113, allocations: 0 / 422.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1113, allocations: 0 / 422.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.1113, allocations: 0 / 422.1 MB, free: 2.105 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00166/0.113, allocations: 1.041 MB / 423.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.113, allocations: 12.03 kB / 423.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1132, allocations: 95.72 kB / 423.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.114, allocations: 0.5973 MB / 423.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.114, allocations: 40.94 kB / 423.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.1141, allocations: 44 kB / 424 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1724/0.2865, allocations: 465.4 kB / 424.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.2866, allocations: 2.672 kB / 424.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.2866, allocations: 20.3 kB / 424.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2867, allocations: 12.34 kB / 424.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009193/0.2876, allocations: 359.8 kB / 424.8 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.2902, allocations: 1.791 MB / 426.6 MB, free: 41.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.291, allocations: 352.7 kB / 426.9 MB, free: 41.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.2913, allocations: 148 kB / 427.1 MB, free: 41.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.2913, allocations: 6.469 kB / 427.1 MB, free: 41.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.2918, allocations: 207.4 kB / 427.3 MB, free: 41.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.895e-06/0.2918, allocations: 3.188 kB / 427.3 MB, free: 41.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001695/0.2935, allocations: 0.7039 MB / 428 MB, free: 40.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.2936, allocations: 57.98 kB / 428 MB, free: 40.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2946, allocations: 1.126 MB / 429.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2946, allocations: 35.27 kB / 429.2 MB, free: 40.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.2949, allocations: 400.1 kB / 429.6 MB, free: 40.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.295, allocations: 96.5 kB / 429.7 MB, free: 40.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.295, allocations: 42.03 kB / 429.7 MB, free: 40.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.2951, allocations: 317.6 kB / 430 MB, free: 40.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.2954, allocations: 132.3 kB / 430.2 MB, free: 40.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.2958, allocations: 196.7 kB / 430.4 MB, free: 40.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.2965, allocations: 362.9 kB / 430.7 MB, free: 39.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2965, allocations: 0.5625 kB / 430.7 MB, free: 39.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009891/0.2975, allocations: 0.5201 MB / 431.2 MB, free: 39.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.2975, allocations: 35.44 kB / 431.3 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2975, allocations: 4.562 kB / 431.3 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.2978, allocations: 60.17 kB / 431.3 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.2981, allocations: 69.14 kB / 431.4 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.2993, allocations: 1.62 MB / 433 MB, free: 38.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.2996, allocations: 58.91 kB / 433.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.2996, allocations: 13 kB / 433.1 MB, free: 38.36 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (33): * Single equations (assignments): 31 * 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.0002624/0.2999, allocations: 286.7 kB / 433.4 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.2999, allocations: 75.88 kB / 433.4 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.301, allocations: 467 kB / 433.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.301, allocations: 3.906 kB / 433.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.301, allocations: 4.688 kB / 433.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.301, allocations: 1.406 kB / 433.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.3016, allocations: 0.5791 MB / 434.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3016, allocations: 0 / 434.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.3019, allocations: 57.66 kB / 434.5 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.3021, allocations: 59.3 kB / 434.6 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3021, allocations: 10.3 kB / 434.6 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.3032, allocations: 1.626 MB / 436.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3033, allocations: 0 / 436.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.3045, allocations: 0.6235 MB / 436.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3046, allocations: 166.3 kB / 437 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.3047, allocations: 7.938 kB / 437 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3049, allocations: 30.25 kB / 437.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.305, allocations: 30.41 kB / 437.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.305, allocations: 13.84 kB / 437.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000691/0.3057, allocations: 0.8268 MB / 437.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3057, allocations: 0 / 437.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004646/0.3062, allocations: 134.1 kB / 438.1 MB, free: 35.78 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * 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.00226/0.3085, allocations: 0.6091 MB / 438.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009355/0.3094, allocations: 0.5065 MB / 439.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3094, allocations: 0 / 439.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.3099, allocations: 293.7 kB / 439.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.3104, allocations: 83.8 kB / 439.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.3125, allocations: 1.869 MB / 441.4 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3129, allocations: 0.9797 MB / 442.4 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.3131, allocations: 76.28 kB / 442.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.3132, allocations: 32.91 kB / 442.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.254e-06/0.3132, allocations: 0 / 442.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01145/0.3246, allocations: 6.189 MB / 448.7 MB, free: 32.82 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe 2>&1)