Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.002008/0.002008, allocations: 84.73 kB / 19.44 MB, free: 352 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.002594/0.002594, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.195 MB / 186.7 MB " [Timeout remaining time 178] 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.04573/0.04573, allocations: 6.481 MB / 266 MB, free: 6.535 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.596e-05, allocations: 5.406 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004272/0.004298, allocations: 3.604 MB / 340.9 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.006213, allocations: 1.176 MB / 342.1 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.006547, allocations: 11.94 kB / 342.1 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.006983, allocations: 198.9 kB / 342.3 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006554/0.007638, allocations: 282.4 kB / 342.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.008328, allocations: 367 kB / 343 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.008977, allocations: 0.6587 MB / 343.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.009323, allocations: 191.8 kB / 343.8 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.009877, allocations: 379 kB / 344.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.01016, allocations: 255.2 kB / 344.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.717e-05/0.01023, allocations: 56 kB / 344.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.01044, allocations: 111.9 kB / 344.6 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.01058, allocations: 223.2 kB / 344.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.01077, allocations: 207.3 kB / 345 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008234/0.0116, allocations: 0.8838 MB / 345.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.0116, allocations: 0 / 345.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.0116, allocations: 0 / 345.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.715e-05/0.01163, allocations: 0 / 345.9 MB, free: 2.566 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001574/0.0132, allocations: 1.043 MB / 346.9 MB, free: 1.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.507e-05/0.01323, allocations: 12.03 kB / 346.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.01341, allocations: 120.4 kB / 347.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.01408, allocations: 0.5449 MB / 347.6 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.01411, allocations: 33.38 kB / 347.6 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.01417, allocations: 40.38 kB / 347.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.01489, allocations: 439.7 kB / 348.1 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.01491, allocations: 0 / 348.1 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.01495, allocations: 16 kB / 348.1 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.01496, allocations: 20 kB / 348.1 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007844/0.01574, allocations: 311.7 kB / 348.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.01876, allocations: 1.507 MB / 349.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009928/0.01975, allocations: 310.7 kB / 350.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.02012, allocations: 116.8 kB / 350.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.02017, allocations: 4 kB / 350.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005114/0.02068, allocations: 175.2 kB / 350.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.02069, allocations: 0 / 350.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001992/0.02268, allocations: 0.5412 MB / 351.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.02274, allocations: 59.34 kB / 351.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.02433, allocations: 0.9299 MB / 352.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.02438, allocations: 37.69 kB / 352.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.02478, allocations: 352.6 kB / 352.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.0249, allocations: 95.17 kB / 352.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.02505, allocations: 74.06 kB / 352.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.02533, allocations: 382.7 kB / 353 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.02578, allocations: 166.3 kB / 353.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.02638, allocations: 221.7 kB / 353.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008607/0.02724, allocations: 345.3 kB / 353.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.02724, allocations: 0 / 353.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001454/0.0287, allocations: 0.5504 MB / 354.3 MB, free: 9.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.02875, allocations: 29.7 kB / 354.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.02876, allocations: 4 kB / 354.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004327/0.02919, allocations: 88.88 kB / 354.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.02953, allocations: 71.89 kB / 354.4 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.03186, allocations: 1.684 MB / 356.1 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.03226, allocations: 51.81 kB / 356.2 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.0323, allocations: 16 kB / 356.2 MB, free: 7.82 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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0004249/0.03273, allocations: 257.7 kB / 356.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.0329, allocations: 79.53 kB / 356.5 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.03433, allocations: 404.1 kB / 356.9 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.03433, allocations: 4 kB / 356.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.03434, allocations: 0 / 356.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.03434, allocations: 0 / 356.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.03502, allocations: 408.9 kB / 357.3 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.03503, allocations: 0 / 357.3 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.03532, allocations: 47.91 kB / 357.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/0.03567, allocations: 80.78 kB / 357.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.0357, allocations: 8 kB / 357.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.03791, allocations: 1.676 MB / 359.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.03792, allocations: 0 / 359.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.03947, allocations: 0.5529 MB / 359.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.03967, allocations: 87.61 kB / 359.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.03976, allocations: 7.984 kB / 359.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.04002, allocations: 19.98 kB / 359.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.04013, allocations: 31.88 kB / 359.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.04016, allocations: 15.94 kB / 359.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.04123, allocations: 0.6591 MB / 360.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04123, allocations: 0 / 360.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006521/0.04189, allocations: 127.7 kB / 360.6 MB, free: 3.215 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.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.003262/0.04515, allocations: 0.6583 MB / 361.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.04648, allocations: 0.4919 MB / 361.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.04648, allocations: 4.125 kB / 361.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.0471, allocations: 262.6 kB / 362 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000666/0.04777, allocations: 86.66 kB / 362.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.05047, allocations: 1.326 MB / 363.5 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.05099, allocations: 353.2 kB / 363.8 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.05124, allocations: 80.22 kB / 363.9 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.05138, allocations: 36.5 kB / 363.9 MB, free: 136 kB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.05138, allocations: 0 / 363.9 MB, free: 136 kB / 282.7 MB Notification: Performance of Templates: time 0.01602/0.0674, allocations: 6.683 MB / 370.6 MB, free: 9.504 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.828318482032046]