Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02738/0.02738, allocations: 6.477 MB / 266.4 MB, free: 6.629 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.752e-05/4.133e-05, allocations: 6.312 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.005951/0.005992, allocations: 3.812 MB / 341.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.008936, allocations: 1.978 MB / 343.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.009431, allocations: 15.88 kB / 343.9 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.009933, allocations: 198.8 kB / 344.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007389/0.01067, allocations: 298.2 kB / 344.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.01138, allocations: 415 kB / 344.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.01194, allocations: 0.6899 MB / 345.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.01222, allocations: 164.2 kB / 345.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.01264, allocations: 387 kB / 346 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.01291, allocations: 259.2 kB / 346.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.01297, allocations: 60 kB / 346.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.01312, allocations: 119.8 kB / 346.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.01325, allocations: 227.2 kB / 346.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.01337, allocations: 207.3 kB / 346.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.01392, allocations: 0.5876 MB / 347.4 MB, free: 1.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.01393, allocations: 4 kB / 347.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.01393, allocations: 0 / 347.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.01394, allocations: 0 / 347.4 MB, free: 1.391 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001027/0.01497, allocations: 1.15 MB / 348.6 MB, free: 200 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.01501, allocations: 12.03 kB / 348.6 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.01518, allocations: 116.4 kB / 348.7 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.01573, allocations: 488.9 kB / 349.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.01576, allocations: 33.38 kB / 349.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.01582, allocations: 44.38 kB / 349.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.01633, allocations: 397.3 kB / 349.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.01635, allocations: 0 / 349.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.01637, allocations: 19.98 kB / 349.7 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.01639, allocations: 8 kB / 349.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.01661, allocations: 141.8 kB / 349.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.0183, allocations: 1.619 MB / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.01867, allocations: 199.4 kB / 351.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.01876, allocations: 59.66 kB / 351.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.01879, allocations: 4 kB / 351.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.01898, allocations: 127.5 kB / 351.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/0.01899, allocations: 0 / 351.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006949/0.01968, allocations: 372.9 kB / 352.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.01973, allocations: 85.11 kB / 352.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.02035, allocations: 0.7065 MB / 353 MB, free: 11.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.02038, allocations: 41.64 kB / 353 MB, free: 11.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.02066, allocations: 431.2 kB / 353.4 MB, free: 11.13 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.02073, allocations: 95.28 kB / 353.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.02083, allocations: 87.67 kB / 353.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.02104, allocations: 0.5625 MB / 354.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.02116, allocations: 94.97 kB / 354.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.02132, allocations: 208.6 kB / 354.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.02157, allocations: 244.9 kB / 354.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02157, allocations: 0 / 354.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004801/0.02205, allocations: 425.2 kB / 355.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.02208, allocations: 37.7 kB / 355.2 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.02209, allocations: 3.938 kB / 355.2 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.02232, allocations: 63.64 kB / 355.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.02248, allocations: 75.89 kB / 355.3 MB, free: 9.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.0237, allocations: 2.126 MB / 357.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.02385, allocations: 43.77 kB / 357.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.02387, allocations: 12 kB / 357.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001837/0.02406, allocations: 221.3 kB / 357.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001536/0.02421, allocations: 204.7 kB / 357.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002154/0.02443, allocations: 235.4 kB / 358.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.02443, allocations: 0 / 358.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0004366/0.02486, allocations: 423.9 kB / 358.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.02489, allocations: 37.69 kB / 358.6 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.02489, allocations: 0 / 358.6 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.02503, allocations: 67.83 kB / 358.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.02517, allocations: 67.84 kB / 358.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.02624, allocations: 2.141 MB / 360.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.02637, allocations: 31.81 kB / 360.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.02639, allocations: 19.98 kB / 360.9 MB, free: 3.129 MB / 282.7 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 (41): * Single equations (assignments): 39 * 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.0001397/0.02653, allocations: 291.1 kB / 361.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.02659, allocations: 79.53 kB / 361.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.02704, allocations: 268.1 kB / 361.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.02704, allocations: 7.984 kB / 361.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.02704, allocations: 0 / 361.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.02705, allocations: 192 / 361.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008029/0.02785, allocations: 0.8173 MB / 362.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.02785, allocations: 3.938 kB / 362.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.02799, allocations: 47.97 kB / 362.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.02812, allocations: 55.64 kB / 362.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.02814, allocations: 11.98 kB / 362.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.02918, allocations: 2.122 MB / 364.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.02919, allocations: 4 kB / 364.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.02967, allocations: 484.3 kB / 365.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.02975, allocations: 79.5 kB / 365.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.02978, allocations: 4 kB / 365.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.02989, allocations: 15.98 kB / 365.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.02997, allocations: 31.89 kB / 365.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.02998, allocations: 7.984 kB / 365.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003675/0.03035, allocations: 459 kB / 365.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03035, allocations: 0 / 365.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005225/0.03087, allocations: 239.4 kB / 365.9 MB, free: 13.94 MB / 298.7 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 (22): * Single equations (assignments): 19 * 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.001297/0.03217, allocations: 0.565 MB / 366.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.033, allocations: 0.8313 MB / 367.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.033, allocations: 0 / 367.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.0332, allocations: 281.3 kB / 367.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.03357, allocations: 113.1 kB / 367.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.03516, allocations: 1.13 MB / 368.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.03529, allocations: 173.3 kB / 369 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.03544, allocations: 68.33 kB / 369 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.03551, allocations: 36.5 kB / 369.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03551, allocations: 0 / 369.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of Templates: time 0.01099/0.0465, allocations: 8.2 MB / 377.3 MB, free: 2.688 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2947194590233266]