Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007284/0.007285, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001633/0.001633, allocations: 195 kB / 16.67 MB, free: 5.934 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1645/0.1645, allocations: 8.31 MB / 298.8 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 413.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2615, allocations: 51.25 MB / 464.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceP): time 0.004503/0.266, allocations: 3.427 MB / 468.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.2687, allocations: 1.646 MB / 469.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.269, allocations: 9.688 kB / 469.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.2697, allocations: 322.3 kB / 470.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.2703, allocations: 269.1 kB / 470.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008038/0.2711, allocations: 388.1 kB / 470.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.2716, allocations: 0.5513 MB / 471.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.2719, allocations: 192.8 kB / 471.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.2722, allocations: 234.5 kB / 471.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.2726, allocations: 323.5 kB / 472.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.838e-05/0.2727, allocations: 45.16 kB / 472.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.2729, allocations: 101.2 kB / 472.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.2731, allocations: 219.1 kB / 472.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.2734, allocations: 320.8 kB / 472.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008761/0.2743, allocations: 0.8152 MB / 473.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2743, allocations: 0 / 473.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2743, allocations: 1.344 kB / 473.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.2743, allocations: 0 / 473.6 MB, free: 12.94 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001434/0.2758, allocations: 1.125 MB / 474.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2758, allocations: 9.625 kB / 474.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2759, allocations: 92.75 kB / 474.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.2765, allocations: 0.5864 MB / 475.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.2766, allocations: 31.19 kB / 475.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.2766, allocations: 38.66 kB / 475.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.2773, allocations: 368.5 kB / 475.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.2774, allocations: 5.75 kB / 475.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.2774, allocations: 11.31 kB / 475.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2774, allocations: 15.81 kB / 475.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.2781, allocations: 277.1 kB / 476.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.2802, allocations: 1.584 MB / 477.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/0.2811, allocations: 389 kB / 478.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.2814, allocations: 117 kB / 478.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.2814, allocations: 7.172 kB / 478.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004084/0.2819, allocations: 182.5 kB / 478.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.2819, allocations: 0 / 478.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001591/0.2835, allocations: 0.6105 MB / 479 MB, free: 9.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.2835, allocations: 88.23 kB / 479.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.2846, allocations: 1.115 MB / 480.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.2847, allocations: 31.2 kB / 480.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.2849, allocations: 376.9 kB / 480.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.2849, allocations: 73 kB / 480.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.285, allocations: 54.48 kB / 480.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.2851, allocations: 316.5 kB / 481 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.2854, allocations: 113.3 kB / 481.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.2858, allocations: 187 kB / 481.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/0.2864, allocations: 297.7 kB / 481.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2864, allocations: 0 / 481.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009698/0.2874, allocations: 470.1 kB / 482 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.2874, allocations: 35.77 kB / 482.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2875, allocations: 2.5 kB / 482.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.2877, allocations: 60.75 kB / 482.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.288, allocations: 58.52 kB / 482.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.2894, allocations: 1.839 MB / 484 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.2897, allocations: 50.75 kB / 484.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.2898, allocations: 12.81 kB / 484.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005583/0.2903, allocations: 334 kB / 484.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002913/0.2906, allocations: 168.2 kB / 484.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005313/0.2912, allocations: 288.1 kB / 484.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.2912, allocations: 1.281 kB / 484.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0008975/0.2921, allocations: 451.8 kB / 485.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.2921, allocations: 38.86 kB / 485.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2921, allocations: 2.219 kB / 485.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.2923, allocations: 60.56 kB / 485.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2925, allocations: 56.36 kB / 485.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.2938, allocations: 1.819 MB / 487.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.2942, allocations: 36.36 kB / 487.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.2942, allocations: 12.25 kB / 487.3 MB, free: 2.84 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001104/0.2943, allocations: 201.7 kB / 487.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.2944, allocations: 79.08 kB / 487.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009398/0.2954, allocations: 396.9 kB / 488 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2954, allocations: 2.75 kB / 488 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2954, allocations: 0 / 488 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2954, allocations: 3.984 kB / 488 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.2969, allocations: 0.9605 MB / 489 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2969, allocations: 3.984 kB / 489 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.2971, allocations: 46.25 kB / 489 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.2973, allocations: 57.44 kB / 489.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2974, allocations: 10.81 kB / 489.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.2986, allocations: 1.82 MB / 490.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2986, allocations: 0 / 490.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.2999, allocations: 0.5905 MB / 491.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.3001, allocations: 167.1 kB / 491.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.3002, allocations: 5.156 kB / 491.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.3004, allocations: 34.59 kB / 491.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.3005, allocations: 21.69 kB / 491.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.3006, allocations: 4.625 kB / 491.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009561/0.3015, allocations: 0.8175 MB / 492.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3015, allocations: 0 / 492.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008587/0.3024, allocations: 206 kB / 492.7 MB, free: 14.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * 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.001363/0.3038, allocations: 0.5967 MB / 493.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.3053, allocations: 0.7655 MB / 494.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3053, allocations: 0 / 494.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.3058, allocations: 258.5 kB / 494.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006475/0.3065, allocations: 104.5 kB / 494.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.3089, allocations: 1.474 MB / 495.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.3096, allocations: 0.9613 MB / 496.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.3098, allocations: 78.8 kB / 497 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/0.3099, allocations: 43.42 kB / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3099, allocations: 0 / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01361/0.3235, allocations: 7.445 MB / 0.4926 GB, free: 4.602 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.pipe 2>&1)