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.0009858/0.0009858, 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.0009915/0.0009916, allocations: 196.2 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.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1273/0.1273, allocations: 8.018 MB / 298.4 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 55.89 kB / 360.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08274/0.08391, allocations: 51.19 MB / 411.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003997/0.08794, allocations: 3.178 MB / 414.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.08908, allocations: 0.7989 MB / 415.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.08922, allocations: 12 kB / 415.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.08963, allocations: 287 kB / 416 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.08996, allocations: 215 kB / 416.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.09046, allocations: 290.8 kB / 416.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.09087, allocations: 491.2 kB / 417 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.09116, allocations: 203.1 kB / 417.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.09136, allocations: 215.2 kB / 417.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.09162, allocations: 283.1 kB / 417.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.09168, allocations: 40 kB / 417.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.09179, allocations: 67.98 kB / 417.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.09195, allocations: 187.4 kB / 418 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.09216, allocations: 290.2 kB / 418.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005245/0.09269, allocations: 0.7007 MB / 419 MB, free: 3.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.0927, allocations: 0 / 419 MB, free: 3.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.09271, allocations: 0 / 419 MB, free: 3.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.09273, allocations: 3.938 kB / 419 MB, free: 3.828 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.001287/0.09402, allocations: 1.017 MB / 420 MB, free: 2.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.09406, allocations: 8.031 kB / 420 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.09416, allocations: 76 kB / 420.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.09469, allocations: 0.5236 MB / 420.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.09472, allocations: 24.59 kB / 420.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/0.09478, allocations: 36 kB / 420.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.0954, allocations: 381.2 kB / 421 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.09543, allocations: 11.89 kB / 421 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.09546, allocations: 15.94 kB / 421 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.09548, allocations: 8 kB / 421 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006246/0.09611, allocations: 262.3 kB / 421.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1372/0.2333, allocations: 1.668 MB / 423 MB, free: 43.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.2342, allocations: 283 kB / 423.2 MB, free: 43.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.2344, allocations: 108.5 kB / 423.3 MB, free: 43.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.2345, allocations: 1.438 kB / 423.4 MB, free: 43.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/0.2349, allocations: 170.9 kB / 423.5 MB, free: 43.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.2349, allocations: 0 / 423.5 MB, free: 43.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001633/0.2366, allocations: 0.6366 MB / 424.2 MB, free: 43.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.2366, allocations: 82.92 kB / 424.2 MB, free: 43.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/0.2374, allocations: 0.9765 MB / 425.2 MB, free: 43.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2375, allocations: 32.05 kB / 425.2 MB, free: 43.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.2376, allocations: 337.4 kB / 425.6 MB, free: 42.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.2377, allocations: 75.61 kB / 425.6 MB, free: 42.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.2378, allocations: 55.97 kB / 425.7 MB, free: 42.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.2378, allocations: 382.7 kB / 426.1 MB, free: 42.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.2381, allocations: 114.5 kB / 426.2 MB, free: 42.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.2384, allocations: 194.1 kB / 426.4 MB, free: 42.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.239, allocations: 320.6 kB / 426.7 MB, free: 42.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.239, allocations: 0 / 426.7 MB, free: 42.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009201/0.2399, allocations: 0.4971 MB / 427.2 MB, free: 42.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.2399, allocations: 36.14 kB / 427.2 MB, free: 42.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2399, allocations: 5.703 kB / 427.2 MB, free: 42.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.2402, allocations: 60.55 kB / 427.3 MB, free: 42.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.2404, allocations: 48.17 kB / 427.3 MB, free: 42.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.2421, allocations: 1.974 MB / 429.3 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.2423, allocations: 43.17 kB / 429.3 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2424, allocations: 13.97 kB / 429.4 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003951/0.2428, allocations: 323.9 kB / 429.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002445/0.243, allocations: 185.9 kB / 429.9 MB, free: 40.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004305/0.2435, allocations: 301.6 kB / 430.2 MB, free: 40.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.2435, allocations: 0.7812 kB / 430.2 MB, free: 40.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006762/0.2442, allocations: 433.3 kB / 430.6 MB, free: 39.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2442, allocations: 32.33 kB / 430.6 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2442, allocations: 7.188 kB / 430.6 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000116/0.2443, allocations: 49.02 kB / 430.7 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2445, allocations: 48.12 kB / 430.7 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008859/0.2454, allocations: 1.77 MB / 432.5 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.2457, allocations: 46.09 kB / 432.5 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2457, allocations: 9.5 kB / 432.5 MB, free: 38.23 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.349e-05/0.2458, allocations: 202.7 kB / 432.7 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.2458, allocations: 56.78 kB / 432.8 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008447/0.2467, allocations: 404.2 kB / 433.2 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2467, allocations: 0 / 433.2 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.2467, allocations: 0 / 433.2 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2467, allocations: 4.719 kB / 433.2 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.2471, allocations: 483.8 kB / 433.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2471, allocations: 3.281 kB / 433.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.2473, allocations: 43.91 kB / 433.7 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.2475, allocations: 75.52 kB / 433.8 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2475, allocations: 4 kB / 433.8 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.249, allocations: 1.96 MB / 435.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.249, allocations: 0 / 435.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009709/0.2499, allocations: 0.5098 MB / 436.3 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.523e-05/0.2501, allocations: 144.7 kB / 436.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.2501, allocations: 5.25 kB / 436.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.2503, allocations: 33.25 kB / 436.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.2504, allocations: 19.95 kB / 436.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.2504, allocations: 13.91 kB / 436.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005477/0.251, allocations: 0.7001 MB / 437.2 MB, free: 35.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.52e-07/0.251, allocations: 0 / 437.2 MB, free: 35.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006523/0.2516, allocations: 201.8 kB / 437.4 MB, free: 35.18 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.0007235/0.2524, allocations: 369.4 kB / 437.7 MB, free: 35.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.2537, allocations: 0.8002 MB / 438.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2537, allocations: 0 / 438.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.2542, allocations: 298.5 kB / 438.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.2546, allocations: 69.42 kB / 438.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.256, allocations: 1.352 MB / 440.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2563, allocations: 0.9196 MB / 441.2 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.2565, allocations: 59.89 kB / 441.2 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.2565, allocations: 29.31 kB / 441.2 MB, free: 33 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2565, allocations: 4 kB / 441.2 MB, free: 33 MB / 350.1 MB Notification: Performance of Templates: time 0.009266/0.2658, allocations: 6.444 MB / 447.7 MB, free: 32.55 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)