Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001331/0.001331, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.00104/0.00104, allocations: 173 kB / 23.49 MB, free: 1.059 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.03582/0.03582, allocations: 6.478 MB / 266.8 MB, free: 6.695 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 338.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.251e-05, allocations: 4.562 kB / 338.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.004183/0.004215, allocations: 3.804 MB / 341.9 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.006216, allocations: 1.963 MB / 343.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.006487, allocations: 7.938 kB / 343.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.006896, allocations: 214.7 kB / 344.1 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.007442, allocations: 290.3 kB / 344.4 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.008038, allocations: 415 kB / 344.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000514/0.008552, allocations: 0.682 MB / 345.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.008808, allocations: 168.2 kB / 345.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.009222, allocations: 399 kB / 346 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.009493, allocations: 255.2 kB / 346.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/0.009546, allocations: 56 kB / 346.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.009686, allocations: 123.8 kB / 346.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.009819, allocations: 227.3 kB / 346.6 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.009954, allocations: 203.3 kB / 346.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.0105, allocations: 0.5915 MB / 347.4 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.0105, allocations: 0 / 347.4 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01051, allocations: 0 / 347.4 MB, free: 1.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.01052, allocations: 0 / 347.4 MB, free: 1.711 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.001063/0.01158, allocations: 1.154 MB / 348.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.01162, allocations: 12.03 kB / 348.6 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.01177, allocations: 116.4 kB / 348.7 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.01231, allocations: 486.7 kB / 349.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.01235, allocations: 33.36 kB / 349.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.01241, allocations: 48.33 kB / 349.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.01293, allocations: 387.7 kB / 349.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01295, allocations: 11.94 kB / 349.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.01297, allocations: 20 kB / 349.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.01299, allocations: 8 kB / 349.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.01322, allocations: 141.8 kB / 349.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.01508, allocations: 1.615 MB / 351.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.01547, allocations: 206.2 kB / 351.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.595e-05/0.01556, allocations: 55.66 kB / 351.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.01559, allocations: 8 kB / 351.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.01581, allocations: 128.4 kB / 351.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.824e-06/0.01582, allocations: 0 / 351.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008034/0.01662, allocations: 374.7 kB / 352.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.01669, allocations: 85.05 kB / 352.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.0173, allocations: 0.7143 MB / 353 MB, free: 11.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.01732, allocations: 37.7 kB / 353 MB, free: 11.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.01757, allocations: 431.3 kB / 353.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.01763, allocations: 95.17 kB / 353.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.632e-05/0.01772, allocations: 79.72 kB / 353.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.01792, allocations: 0.5665 MB / 354.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.01805, allocations: 90.97 kB / 354.3 MB, free: 10.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.01823, allocations: 212.5 kB / 354.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.01856, allocations: 241 kB / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01856, allocations: 0 / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005219/0.01908, allocations: 425 kB / 355.1 MB, free: 9.609 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.01912, allocations: 41.91 kB / 355.2 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01913, allocations: 4 kB / 355.2 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.01935, allocations: 59.64 kB / 355.2 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.01951, allocations: 71.91 kB / 355.3 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.02084, allocations: 2.137 MB / 357.5 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.02098, allocations: 39.83 kB / 357.5 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.02099, allocations: 19.94 kB / 357.5 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001824/0.02118, allocations: 221.4 kB / 357.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001478/0.02133, allocations: 204.7 kB / 357.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002122/0.02154, allocations: 231.6 kB / 358.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.203e-06/0.02154, allocations: 0 / 358.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0004532/0.02199, allocations: 423.8 kB / 358.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.02202, allocations: 36.73 kB / 358.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.02202, allocations: 4 kB / 358.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.02218, allocations: 63.62 kB / 358.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.02233, allocations: 75.84 kB / 358.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.02379, allocations: 2.129 MB / 360.9 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.02396, allocations: 39.77 kB / 360.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.02398, allocations: 19.98 kB / 360.9 MB, free: 3.438 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.0001494/0.02413, allocations: 295.9 kB / 361.2 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.0242, allocations: 71.53 kB / 361.3 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.02461, allocations: 268 kB / 361.5 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.02461, allocations: 4 kB / 361.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.02462, allocations: 8.031 kB / 361.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.02462, allocations: 3.984 kB / 361.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008173/0.02544, allocations: 0.8056 MB / 362.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02544, allocations: 0 / 362.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.02559, allocations: 43.97 kB / 362.4 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.02574, allocations: 59.64 kB / 362.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.02576, allocations: 4 kB / 362.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.02692, allocations: 2.134 MB / 364.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02692, allocations: 0 / 364.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.02741, allocations: 489.3 kB / 365.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.02782, allocations: 79.44 kB / 365.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.02786, allocations: 11.98 kB / 365.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.02798, allocations: 19.98 kB / 365.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.02806, allocations: 27.95 kB / 365.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.02808, allocations: 4 kB / 365.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004027/0.02848, allocations: 462.9 kB / 365.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02848, allocations: 0 / 365.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000578/0.02906, allocations: 239.4 kB / 365.9 MB, free: 14.24 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.001393/0.03045, allocations: 0.5611 MB / 366.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.03131, allocations: 0.8237 MB / 367.3 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.03131, allocations: 3.938 kB / 367.3 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.03153, allocations: 273.4 kB / 367.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.03193, allocations: 127.6 kB / 367.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.03392, allocations: 1.121 MB / 368.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.03406, allocations: 169.3 kB / 369 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.03423, allocations: 72.33 kB / 369.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.03432, allocations: 44.48 kB / 369.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.03432, allocations: 0 / 369.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of Templates: time 0.01086/0.04518, allocations: 7.806 MB / 376.9 MB, free: 3.383 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.002514973981306]