Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.007311/0.007311, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001764/0.001764, allocations: 200.3 kB / 16.68 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.554/1.554, 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.2413/0.2413, allocations: 7.999 MB / 298.5 MB, free: 2.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002619, allocations: 67.89 kB / 413.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3423, allocations: 51.24 MB / 464.4 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceP): time 0.005903/0.3483, allocations: 3.595 MB / 468 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.3517, allocations: 1.679 MB / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.3521, allocations: 11.12 kB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008484/0.353, allocations: 334.3 kB / 470 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006847/0.3537, allocations: 273.8 kB / 470.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.3553, allocations: 406.2 kB / 470.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.3569, allocations: 0.6036 MB / 471.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005893/0.3575, allocations: 207 kB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006268/0.3582, allocations: 248.8 kB / 471.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008705/0.359, allocations: 352.7 kB / 472.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.3592, allocations: 45.59 kB / 472.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.3597, allocations: 107.7 kB / 472.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004861/0.3602, allocations: 225 kB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.3606, allocations: 351 kB / 472.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.3621, allocations: 0.8543 MB / 473.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.3622, allocations: 0.75 kB / 473.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.3622, allocations: 3.938 kB / 473.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.3622, allocations: 0 / 473.6 MB, free: 12.66 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001985/0.3642, allocations: 1.186 MB / 474.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3643, allocations: 12.58 kB / 474.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.3644, allocations: 96.03 kB / 474.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/0.3653, allocations: 0.5918 MB / 475.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.3654, allocations: 32.59 kB / 475.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/0.3654, allocations: 42.06 kB / 475.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009498/0.3664, allocations: 420.4 kB / 476 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.3664, allocations: 2.031 kB / 476 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.3665, allocations: 14.75 kB / 476 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.3665, allocations: 9.625 kB / 476 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000939/0.3674, allocations: 305.4 kB / 476.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.3704, allocations: 1.685 MB / 478 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009718/0.3714, allocations: 416 kB / 478.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.3717, allocations: 128.4 kB / 478.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.3718, allocations: 9.109 kB / 478.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004731/0.3723, allocations: 193.5 kB / 478.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.635e-06/0.3723, allocations: 0 / 478.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001815/0.3741, allocations: 0.6343 MB / 479.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3742, allocations: 81.61 kB / 479.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.3756, allocations: 1.131 MB / 480.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.3756, allocations: 31.08 kB / 480.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.3759, allocations: 399.5 kB / 481 MB, free: 8.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.376, allocations: 98.78 kB / 481.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3761, allocations: 52.14 kB / 481.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.031e-05/0.3762, allocations: 321 kB / 481.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.3765, allocations: 125.5 kB / 481.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.3769, allocations: 180.8 kB / 481.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/0.3777, allocations: 329.2 kB / 482.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3777, allocations: 0 / 482.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001119/0.3788, allocations: 497.8 kB / 482.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.3789, allocations: 31.67 kB / 482.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3789, allocations: 2.406 kB / 482.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/0.3792, allocations: 68.25 kB / 482.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.3795, allocations: 58.92 kB / 482.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.3812, allocations: 1.797 MB / 484.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.3816, allocations: 49.62 kB / 484.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.3816, allocations: 9.844 kB / 484.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007615/0.3824, allocations: 356.1 kB / 484.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003489/0.3827, allocations: 178.9 kB / 485.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006282/0.3834, allocations: 311.5 kB / 485.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.015e-06/0.3834, allocations: 5.094 kB / 485.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.001129/0.3845, allocations: 468.5 kB / 485.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.3846, allocations: 36.3 kB / 485.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3846, allocations: 2.625 kB / 485.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.3848, allocations: 56.38 kB / 486 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.3851, allocations: 63.89 kB / 486 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.3867, allocations: 1.793 MB / 487.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.3871, allocations: 44.25 kB / 487.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.3871, allocations: 12.25 kB / 487.9 MB, free: 2.445 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 (30): * Single equations (assignments): 28 * 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.0002307/0.3873, allocations: 195.1 kB / 488.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.3875, allocations: 80.41 kB / 488.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3887, allocations: 426.4 kB / 488.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3887, allocations: 2.75 kB / 488.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3887, allocations: 5.312 kB / 488.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3887, allocations: 3.938 kB / 488.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.3907, allocations: 1.021 MB / 489.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3907, allocations: 0 / 489.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.391, allocations: 55.77 kB / 489.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.3912, allocations: 57.66 kB / 489.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3913, allocations: 5.906 kB / 489.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.3928, allocations: 1.79 MB / 491.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3929, allocations: 0 / 491.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.3946, allocations: 0.6363 MB / 492.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.3949, allocations: 171.5 kB / 492.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.3949, allocations: 6.125 kB / 492.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.3952, allocations: 29.66 kB / 492.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3954, allocations: 23.72 kB / 492.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3954, allocations: 5.406 kB / 492.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001503/0.3969, allocations: 0.8313 MB / 493.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3969, allocations: 4 kB / 493.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001122/0.398, allocations: 224.5 kB / 493.4 MB, free: 14.38 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 (21): * Single equations (assignments): 18 * 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.002446/0.4005, allocations: 0.6083 MB / 494 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.4026, allocations: 0.7976 MB / 494.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.4027, allocations: 0.625 kB / 494.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000628/0.4033, allocations: 279.9 kB / 495.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008252/0.4041, allocations: 93.95 kB / 495.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.4072, allocations: 1.537 MB / 496.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007895/0.4081, allocations: 0.9762 MB / 497.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003568/0.4084, allocations: 88.12 kB / 497.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.4085, allocations: 39.36 kB / 497.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4086, allocations: 4 kB / 497.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of Templates: time 0.017/0.4256, allocations: 7.611 MB / 0.4936 GB, free: 3.645 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceP.pipe 2>&1)