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.005552/0.005552, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001238/0.001238, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1406/0.1406, allocations: 8.024 MB / 298.6 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 75.88 kB / 413.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2656, allocations: 51.19 MB / 464.3 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004892/0.2706, allocations: 3.181 MB / 467.4 MB, free: 16.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2721, allocations: 0.8003 MB / 468.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.2725, allocations: 5.531 kB / 468.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.2732, allocations: 291.4 kB / 468.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006407/0.2739, allocations: 220.2 kB / 468.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.2747, allocations: 282.9 kB / 469 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008227/0.2755, allocations: 0.493 MB / 469.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.2759, allocations: 194.9 kB / 469.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.2764, allocations: 219.6 kB / 469.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.2769, allocations: 279.6 kB / 470.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.277, allocations: 39.78 kB / 470.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.2772, allocations: 67.64 kB / 470.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.2775, allocations: 195.2 kB / 470.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.2778, allocations: 290.1 kB / 470.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.2788, allocations: 0.7154 MB / 471.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2789, allocations: 0.5625 kB / 471.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2789, allocations: 0 / 471.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.045e-05/0.2789, allocations: 0 / 471.5 MB, free: 14.08 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.001624/0.2805, allocations: 1.04 MB / 472.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2806, allocations: 9.312 kB / 472.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.2807, allocations: 79.75 kB / 472.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/0.2814, allocations: 0.5448 MB / 473.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2815, allocations: 25.75 kB / 473.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.2815, allocations: 35.12 kB / 473.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/0.2822, allocations: 388.3 kB / 473.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2823, allocations: 8.656 kB / 473.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.2823, allocations: 11.31 kB / 473.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.2823, allocations: 8.188 kB / 473.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.283, allocations: 264.4 kB / 473.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.285, allocations: 1.656 MB / 475.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000854/0.2858, allocations: 292.1 kB / 475.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.2861, allocations: 111.4 kB / 475.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2862, allocations: 2.766 kB / 475.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.2866, allocations: 168.8 kB / 476.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.2866, allocations: 0 / 476.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00182/0.2884, allocations: 0.6461 MB / 476.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2885, allocations: 84.45 kB / 476.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2896, allocations: 0.968 MB / 477.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.2896, allocations: 30.8 kB / 477.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.2898, allocations: 348.7 kB / 478.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.2899, allocations: 67.94 kB / 478.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.29, allocations: 58.27 kB / 478.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.2901, allocations: 380.5 kB / 478.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.2904, allocations: 112.7 kB / 478.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.2907, allocations: 195 kB / 479 MB, free: 9.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.2913, allocations: 316.8 kB / 479.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2913, allocations: 1.281 kB / 479.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001069/0.2924, allocations: 0.506 MB / 479.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.2924, allocations: 35.17 kB / 479.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2925, allocations: 6.5 kB / 479.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/0.2927, allocations: 68.67 kB / 479.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2929, allocations: 56.25 kB / 479.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.2948, allocations: 1.981 MB / 481.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.2952, allocations: 38.64 kB / 482 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.2952, allocations: 13.88 kB / 482 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005172/0.2957, allocations: 316.9 kB / 482.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002988/0.296, allocations: 175.5 kB / 482.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005081/0.2966, allocations: 305.1 kB / 482.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.2966, allocations: 1.219 kB / 482.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008785/0.2975, allocations: 437.6 kB / 483.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.2975, allocations: 32.2 kB / 483.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2975, allocations: 2.5 kB / 483.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.2976, allocations: 50.33 kB / 483.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2978, allocations: 55.47 kB / 483.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.2989, allocations: 1.76 MB / 485.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.2993, allocations: 40.31 kB / 485.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.2993, allocations: 12.53 kB / 485.1 MB, free: 4.242 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 0.0001357/0.2994, allocations: 204 kB / 485.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.2995, allocations: 58.19 kB / 485.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.3005, allocations: 403.8 kB / 485.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.3005, allocations: 2.719 kB / 485.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3005, allocations: 0 / 485.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3005, allocations: 0 / 485.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.3011, allocations: 495.2 kB / 486.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3011, allocations: 0 / 486.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.3013, allocations: 37.12 kB / 486.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.3015, allocations: 76.83 kB / 486.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.3016, allocations: 6.219 kB / 486.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.3033, allocations: 1.953 MB / 488.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3034, allocations: 0 / 488.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3045, allocations: 0.52 MB / 488.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3047, allocations: 150.2 kB / 489 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.3048, allocations: 10.75 kB / 489 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.305, allocations: 24.06 kB / 489 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.3051, allocations: 30.83 kB / 489.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.3051, allocations: 8.312 kB / 489.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008487/0.3059, allocations: 0.7095 MB / 489.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.306, allocations: 0 / 489.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008046/0.3068, allocations: 194.8 kB / 490 MB, free: 0.6328 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.0007887/0.3076, allocations: 348.8 kB / 490.3 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.3091, allocations: 0.807 MB / 491.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3091, allocations: 0 / 491.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.3097, allocations: 300 kB / 491.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.3103, allocations: 92.33 kB / 491.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.3125, allocations: 1.338 MB / 492.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.3131, allocations: 0.9273 MB / 493.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.3133, allocations: 62.56 kB / 493.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.3134, allocations: 33.05 kB / 493.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3134, allocations: 0 / 493.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of Templates: time 0.0132/0.3266, allocations: 6.531 MB / 0.4887 GB, free: 8.418 MB / 366.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)