Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001004/0.001004, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001042/0.001042, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.9523/0.9523, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.05383/0.05383, allocations: 6.478 MB / 267.5 MB, free: 6.492 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 339.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.473e-05, allocations: 6.312 kB / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.006818/0.006832, allocations: 3.637 MB / 342.9 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.008677, allocations: 1.928 MB / 344.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.008898, allocations: 15.94 kB / 344.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.009251, allocations: 198.9 kB / 345.1 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.009713, allocations: 282.4 kB / 345.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.01025, allocations: 410.9 kB / 345.8 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.01072, allocations: 0.6508 MB / 346.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.01094, allocations: 151.2 kB / 346.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.01128, allocations: 375 kB / 346.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.0115, allocations: 247.2 kB / 347.2 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.01154, allocations: 52 kB / 347.2 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.01167, allocations: 119.8 kB / 347.3 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.01179, allocations: 215.3 kB / 347.5 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.01191, allocations: 195.3 kB / 347.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.01237, allocations: 0.5604 MB / 348.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.01237, allocations: 3.938 kB / 348.3 MB, free: 1.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01237, allocations: 0 / 348.3 MB, free: 1.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.01238, allocations: 0 / 348.3 MB, free: 1.477 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.0008458/0.01322, allocations: 1.127 MB / 349.4 MB, free: 308 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.01325, allocations: 12.03 kB / 349.4 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/0.01334, allocations: 108.4 kB / 349.5 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.01373, allocations: 461 kB / 350 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.01375, allocations: 29.38 kB / 350 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.0138, allocations: 44.33 kB / 350.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.01415, allocations: 353.1 kB / 350.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01416, allocations: 4 kB / 350.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.01418, allocations: 16 kB / 350.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.01419, allocations: 8 kB / 350.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.01432, allocations: 106.8 kB / 350.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.01566, allocations: 1.438 MB / 352 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.01593, allocations: 170.9 kB / 352.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.01598, allocations: 35.67 kB / 352.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.016, allocations: 4 kB / 352.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.01614, allocations: 109 kB / 352.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.01614, allocations: 0 / 352.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004176/0.01656, allocations: 275.5 kB / 352.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.0166, allocations: 85.09 kB / 352.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.01708, allocations: 0.6788 MB / 353.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.0171, allocations: 29.7 kB / 353.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.01731, allocations: 423.2 kB / 353.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.01736, allocations: 87.23 kB / 353.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.01745, allocations: 87.27 kB / 353.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01761, allocations: 0.5741 MB / 354.5 MB, free: 11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.01769, allocations: 73.36 kB / 354.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.01781, allocations: 192.5 kB / 354.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.01797, allocations: 211.2 kB / 355 MB, free: 10.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01797, allocations: 0 / 355 MB, free: 10.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003313/0.0183, allocations: 363.9 kB / 355.3 MB, free: 10.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.01833, allocations: 33.7 kB / 355.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.01833, allocations: 0 / 355.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.724e-05/0.01843, allocations: 31.61 kB / 355.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01858, allocations: 71.91 kB / 355.5 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007233/0.01931, allocations: 1.709 MB / 357.2 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.01944, allocations: 43.83 kB / 357.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.01945, allocations: 4 kB / 357.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001406/0.01959, allocations: 208.5 kB / 357.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000115/0.01971, allocations: 181.2 kB / 357.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001489/0.01986, allocations: 206.9 kB / 357.8 MB, free: 7.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.01986, allocations: 0 / 357.8 MB, free: 7.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003018/0.02016, allocations: 359.7 kB / 358.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.02018, allocations: 37.7 kB / 358.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-06/0.02018, allocations: 0 / 358.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.812e-05/0.02024, allocations: 27.89 kB / 358.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.02037, allocations: 67.91 kB / 358.3 MB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007074/0.02107, allocations: 1.717 MB / 360 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.02124, allocations: 39.83 kB / 360 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.02126, allocations: 16.12 kB / 360.1 MB, free: 4.957 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 (iceT.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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.0001146/0.02137, allocations: 286.9 kB / 360.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.02144, allocations: 75.58 kB / 360.4 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.02169, allocations: 203.1 kB / 360.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.02169, allocations: 4 kB / 360.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.02169, allocations: 7.922 kB / 360.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.0217, allocations: 3.938 kB / 360.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.02202, allocations: 320.8 kB / 360.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02202, allocations: 4 kB / 360.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.02214, allocations: 43.97 kB / 361 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-05/0.02218, allocations: 15.69 kB / 361 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.0222, allocations: 11.98 kB / 361 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006205/0.02282, allocations: 1.706 MB / 362.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02282, allocations: 4.125 kB / 362.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.02313, allocations: 294.3 kB / 363 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.02319, allocations: 71.5 kB / 363.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.02323, allocations: 7.938 kB / 363.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.02332, allocations: 23.97 kB / 363.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.02337, allocations: 19.97 kB / 363.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.02338, allocations: 7.984 kB / 363.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.02366, allocations: 426.8 kB / 363.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02366, allocations: 0 / 363.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003871/0.02405, allocations: 215.4 kB / 363.8 MB, free: 1.062 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.001219/0.02527, allocations: 0.5653 MB / 364.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.02583, allocations: 0.7675 MB / 365.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02583, allocations: 0 / 365.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.02598, allocations: 233.5 kB / 365.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.02629, allocations: 111.8 kB / 365.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.02777, allocations: 1.082 MB / 366.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.743e-05/0.02787, allocations: 161.2 kB / 366.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.028, allocations: 64.23 kB / 366.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.02818, allocations: 158.1 kB / 366.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02818, allocations: 0 / 366.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of Templates: time 0.01018/0.03836, allocations: 7.69 MB / 374.6 MB, free: 6.375 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9777055983431637]