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.000934/0.000934, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001225/0.001225, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1799/0.1799, allocations: 8.028 MB / 299.1 MB, free: 3.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 8 kB / 361.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.104, allocations: 52.19 MB / 414 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003676/0.1078, allocations: 2.726 MB / 416.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.109, allocations: 0.7448 MB / 417.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1091, allocations: 11.94 kB / 417.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.1096, allocations: 267.3 kB / 417.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.1099, allocations: 187.3 kB / 417.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.1105, allocations: 231 kB / 418.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004243/0.1109, allocations: 435.1 kB / 418.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.1112, allocations: 140.1 kB / 418.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1114, allocations: 167.4 kB / 418.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.1117, allocations: 227.1 kB / 419.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.1117, allocations: 19.94 kB / 419.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1118, allocations: 40 kB / 419.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.112, allocations: 155.5 kB / 419.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1121, allocations: 125.3 kB / 419.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.1126, allocations: 0.5225 MB / 419.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1126, allocations: 0 / 419.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1126, allocations: 4 kB / 419.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1126, allocations: 0 / 419.9 MB, free: 4.047 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.001276/0.1139, allocations: 0.9239 MB / 420.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1139, allocations: 12.03 kB / 420.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.114, allocations: 71.06 kB / 420.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.1146, allocations: 0.5073 MB / 421.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1146, allocations: 20.66 kB / 421.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.1147, allocations: 35.91 kB / 421.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.1154, allocations: 397.2 kB / 421.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1155, allocations: 7.953 kB / 421.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.1155, allocations: 12 kB / 421.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1155, allocations: 8 kB / 421.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.1162, allocations: 302.3 kB / 422.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2197/0.336, allocations: 1.683 MB / 423.9 MB, free: 41.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009237/0.337, allocations: 317.8 kB / 424.2 MB, free: 41.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.3373, allocations: 125.1 kB / 424.3 MB, free: 41.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.3373, allocations: 2.375 kB / 424.3 MB, free: 41.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004514/0.3378, allocations: 188.3 kB / 424.5 MB, free: 41.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.775e-06/0.3378, allocations: 0 / 424.5 MB, free: 41.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001835/0.3396, allocations: 0.7369 MB / 425.2 MB, free: 41.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3397, allocations: 83.86 kB / 425.3 MB, free: 41.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009465/0.3406, allocations: 0.9661 MB / 426.3 MB, free: 41.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3407, allocations: 31.92 kB / 426.3 MB, free: 41.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.3409, allocations: 340.6 kB / 426.7 MB, free: 41.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.341, allocations: 73.62 kB / 426.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.341, allocations: 4.406 kB / 426.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.3411, allocations: 385.4 kB / 427.1 MB, free: 40.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.3414, allocations: 121.9 kB / 427.2 MB, free: 40.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.3417, allocations: 208.1 kB / 427.4 MB, free: 40.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.342, allocations: 160 kB / 427.6 MB, free: 40.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.342, allocations: 3.344 kB / 427.6 MB, free: 40.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001002/0.343, allocations: 0.549 MB / 428.1 MB, free: 40.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/0.3431, allocations: 188.7 kB / 428.3 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3431, allocations: 3.688 kB / 428.3 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.3434, allocations: 86.97 kB / 428.4 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.3436, allocations: 59.12 kB / 428.5 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.3454, allocations: 1.85 MB / 430.3 MB, free: 38.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.3457, allocations: 57.94 kB / 430.4 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.3457, allocations: 10.03 kB / 430.4 MB, free: 38.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.189e-06/0.3457, allocations: 6.938 kB / 430.4 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006912/0.3464, allocations: 374.6 kB / 430.8 MB, free: 38.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3464, allocations: 7.484 kB / 430.8 MB, free: 38.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.3466, allocations: 49.53 kB / 430.8 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.3468, allocations: 55.97 kB / 430.9 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009073/0.3477, allocations: 1.579 MB / 432.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.3479, allocations: 53.98 kB / 432.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.348, allocations: 11.88 kB / 432.5 MB, free: 37.43 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 ($whenCondition1,$PRE.powReq.T_start,powReq.T_start,$PRE.powReq.count,powReq.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002636/0.3482, allocations: 342.2 kB / 432.8 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.3483, allocations: 62.3 kB / 432.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009121/0.3492, allocations: 444.5 kB / 433.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3492, allocations: 3.188 kB / 433.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.3492, allocations: 0 / 433.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3492, allocations: 7.562 kB / 433.4 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.3496, allocations: 488.9 kB / 433.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3496, allocations: 0 / 433.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.3498, allocations: 39.28 kB / 433.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.35, allocations: 89.09 kB / 434 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3501, allocations: 6.156 kB / 434 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.3517, allocations: 1.834 MB / 435.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3517, allocations: 0 / 435.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.3529, allocations: 0.5814 MB / 436.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.353, allocations: 149.7 kB / 436.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.3531, allocations: 6.438 kB / 436.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.3533, allocations: 36.78 kB / 436.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.3534, allocations: 26.72 kB / 436.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.3534, allocations: 6.594 kB / 436.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006776/0.3541, allocations: 0.7086 MB / 437.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3541, allocations: 3.281 kB / 437.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006887/0.3548, allocations: 188.3 kB / 437.5 MB, free: 35.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008057/0.3556, allocations: 354.7 kB / 437.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.357, allocations: 0.8626 MB / 438.7 MB, free: 34.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.357, allocations: 4.062 kB / 438.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.3576, allocations: 320.8 kB / 439 MB, free: 34.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.358, allocations: 82.3 kB / 439.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3598, allocations: 1.532 MB / 440.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3601, allocations: 0.9223 MB / 441.6 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.3603, allocations: 62.27 kB / 441.6 MB, free: 32.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.3604, allocations: 30.78 kB / 441.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3604, allocations: 0 / 441.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of Templates: time 0.009923/0.3703, allocations: 5.779 MB / 447.4 MB, free: 32.54 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)