Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001648/0.001648, allocations: 92.22 kB / 19.65 MB, free: 276 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.001784/0.001784, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9095/0.9095, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.02596/0.02596, allocations: 6.486 MB / 266.4 MB, free: 6.641 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.267e-05, allocations: 2.312 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.003376/0.003399, allocations: 3.723 MB / 341.8 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.005109, allocations: 1.932 MB / 343.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.005328, allocations: 7.938 kB / 343.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.005688, allocations: 206.8 kB / 343.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.006187, allocations: 286.4 kB / 344.2 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.006711, allocations: 403 kB / 344.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.00717, allocations: 0.6546 MB / 345.3 MB, free: 3.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.007405, allocations: 151.2 kB / 345.4 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.007762, allocations: 367.1 kB / 345.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.008017, allocations: 243.3 kB / 346 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.008064, allocations: 52 kB / 346.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.008211, allocations: 127.8 kB / 346.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.008331, allocations: 207.3 kB / 346.4 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.008446, allocations: 207.3 kB / 346.6 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.008933, allocations: 0.5604 MB / 347.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.008937, allocations: 0 / 347.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008938, allocations: 0 / 347.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.008947, allocations: 0 / 347.2 MB, free: 1.672 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0009306/0.009878, allocations: 1.123 MB / 348.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.00991, allocations: 8.031 kB / 348.3 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.01001, allocations: 120.4 kB / 348.4 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.01047, allocations: 477 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.0105, allocations: 29.38 kB / 348.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.01055, allocations: 40.33 kB / 348.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.01099, allocations: 381.2 kB / 349.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.011, allocations: 0 / 349.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.01103, allocations: 12 kB / 349.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.01104, allocations: 12 kB / 349.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.01125, allocations: 133.8 kB / 349.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.01267, allocations: 1.554 MB / 351 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.01298, allocations: 163.4 kB / 351.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.01306, allocations: 47.66 kB / 351.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.01309, allocations: 8 kB / 351.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.01325, allocations: 120.9 kB / 351.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.234e-06/0.01325, allocations: 0 / 351.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004942/0.01375, allocations: 284.4 kB / 351.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.01379, allocations: 81.11 kB / 351.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.01435, allocations: 0.7142 MB / 352.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.01437, allocations: 29.7 kB / 352.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.01459, allocations: 415.3 kB / 352.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.01464, allocations: 91.28 kB / 352.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/0.01472, allocations: 83.3 kB / 353 MB, free: 11.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.01488, allocations: 0.5703 MB / 353.6 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.01501, allocations: 81.36 kB / 353.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.01515, allocations: 208.5 kB / 353.9 MB, free: 10.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.01536, allocations: 226.6 kB / 354.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01536, allocations: 4 kB / 354.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003923/0.01575, allocations: 379.7 kB / 354.5 MB, free: 9.945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.01579, allocations: 37.69 kB / 354.5 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01579, allocations: 8.219 kB / 354.5 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.01593, allocations: 19.69 kB / 354.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.0161, allocations: 75.89 kB / 354.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007249/0.01682, allocations: 1.732 MB / 356.3 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.01696, allocations: 39.95 kB / 356.4 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.01698, allocations: 16 kB / 356.4 MB, free: 7.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001677/0.01715, allocations: 212.5 kB / 356.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001325/0.01728, allocations: 197.2 kB / 356.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001865/0.01746, allocations: 226.8 kB / 357 MB, free: 7.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.01747, allocations: 0 / 357 MB, free: 7.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.000352/0.01782, allocations: 379.7 kB / 357.4 MB, free: 6.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.01784, allocations: 33.7 kB / 357.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.01784, allocations: 0 / 357.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.446e-05/0.0179, allocations: 27.67 kB / 357.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.01805, allocations: 76.12 kB / 357.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006402/0.01869, allocations: 1.724 MB / 359.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.01881, allocations: 39.83 kB / 359.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.01883, allocations: 12 kB / 359.3 MB, free: 4.727 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,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.01895, allocations: 291 kB / 359.6 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.01901, allocations: 79.55 kB / 359.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.0193, allocations: 231 kB / 359.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01931, allocations: 4 kB / 359.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01931, allocations: 0 / 359.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01931, allocations: 0 / 359.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.01964, allocations: 420.3 kB / 360.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01964, allocations: 0 / 360.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.01977, allocations: 47.91 kB / 360.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.953e-05/0.01983, allocations: 27.61 kB / 360.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01985, allocations: 8 kB / 360.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006009/0.02045, allocations: 1.736 MB / 362.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02045, allocations: 0 / 362.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.0208, allocations: 318.6 kB / 362.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/0.02088, allocations: 83.62 kB / 362.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.02091, allocations: 4 kB / 362.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.021, allocations: 19.98 kB / 362.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.02106, allocations: 23.95 kB / 362.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.02107, allocations: 7.984 kB / 362.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003612/0.02143, allocations: 459 kB / 363 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02143, allocations: 0 / 363 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004369/0.02187, allocations: 219.4 kB / 363.2 MB, free: 0.5938 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.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 (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/0.02308, allocations: 0.5612 MB / 363.8 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006956/0.02378, allocations: 0.7956 MB / 364.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02378, allocations: 0 / 364.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.02395, allocations: 241.5 kB / 364.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.02428, allocations: 106.2 kB / 364.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.02575, allocations: 1.097 MB / 366 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.02585, allocations: 161.2 kB / 366.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.026, allocations: 76.2 kB / 366.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.02608, allocations: 40.48 kB / 366.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02608, allocations: 0 / 366.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of Templates: time 0.009418/0.0355, allocations: 6.997 MB / 373.3 MB, free: 6.668 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8982584290206432]