Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001816/0.001816, allocations: 85.48 kB / 19.44 MB, free: 336 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.001992/0.001992, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 178] 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.04418/0.04418, allocations: 6.498 MB / 266.1 MB, free: 6.52 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 337.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.666e-05, allocations: 2.312 kB / 337.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004532/0.004559, allocations: 3.758 MB / 341.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.006495, allocations: 1.184 MB / 342.3 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.00681, allocations: 7.938 kB / 342.3 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.007291, allocations: 206.8 kB / 342.5 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005683/0.00786, allocations: 290.4 kB / 342.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.008614, allocations: 363.1 kB / 343.1 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005747/0.009189, allocations: 0.6548 MB / 343.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.009536, allocations: 203.7 kB / 344 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.009958, allocations: 383 kB / 344.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.01024, allocations: 251.2 kB / 344.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.761e-05/0.0103, allocations: 56 kB / 344.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.01049, allocations: 115.9 kB / 344.8 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.01064, allocations: 219.3 kB / 345 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.0108, allocations: 211.3 kB / 345.2 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007513/0.01155, allocations: 0.88 MB / 346.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.01156, allocations: 3.984 kB / 346.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01156, allocations: 3.938 kB / 346.1 MB, free: 2.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01157, allocations: 0 / 346.1 MB, free: 2.367 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.001432/0.013, allocations: 1.209 MB / 347.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.01303, allocations: 8.031 kB / 347.3 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.0132, allocations: 120.4 kB / 347.4 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.0138, allocations: 492.9 kB / 347.9 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.01383, allocations: 33.38 kB / 347.9 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.01388, allocations: 44.36 kB / 348 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.01455, allocations: 447.2 kB / 348.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.01458, allocations: 7.875 kB / 348.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.01462, allocations: 16 kB / 348.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.01463, allocations: 8 kB / 348.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.01533, allocations: 271.9 kB / 348.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.0188, allocations: 1.898 MB / 350.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.01954, allocations: 291.3 kB / 350.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.0198, allocations: 109.6 kB / 351 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.01985, allocations: 4 kB / 351 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.02027, allocations: 176.9 kB / 351.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.265e-06/0.02027, allocations: 0 / 351.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001568/0.02184, allocations: 493.8 kB / 351.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.0219, allocations: 59.39 kB / 351.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.02319, allocations: 0.8861 MB / 352.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.02323, allocations: 33.7 kB / 352.6 MB, free: 11.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.0237, allocations: 467.2 kB / 353.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.02381, allocations: 103.2 kB / 353.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.02398, allocations: 95.72 kB / 353.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004244/0.0244, allocations: 0.625 MB / 353.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.02471, allocations: 134.4 kB / 354.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.0251, allocations: 248.4 kB / 354.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.02574, allocations: 348.2 kB / 354.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.02574, allocations: 3.938 kB / 354.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001108/0.02685, allocations: 0.5258 MB / 355.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.02691, allocations: 34.33 kB / 355.2 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.02692, allocations: 4 kB / 355.2 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.02728, allocations: 71.84 kB / 355.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.02756, allocations: 71.84 kB / 355.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.03001, allocations: 2.258 MB / 357.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.03031, allocations: 43.72 kB / 357.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.03034, allocations: 12 kB / 357.7 MB, free: 6.301 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.0003308/0.03067, allocations: 224.5 kB / 357.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.03079, allocations: 75.56 kB / 357.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008757/0.03166, allocations: 355.1 kB / 358.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.03167, allocations: 4 kB / 358.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.03167, allocations: 0 / 358.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.03167, allocations: 3.984 kB / 358.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.03248, allocations: 0.5704 MB / 358.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.03248, allocations: 4 kB / 358.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.03271, allocations: 47.91 kB / 358.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.03298, allocations: 59.64 kB / 359 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.03301, allocations: 12.12 kB / 359 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.03518, allocations: 2.258 MB / 361.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.03518, allocations: 0 / 361.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.03633, allocations: 0.5111 MB / 361.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.03652, allocations: 75.5 kB / 361.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.03658, allocations: 8 kB / 361.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.03676, allocations: 20.02 kB / 361.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.03687, allocations: 27.94 kB / 361.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.03689, allocations: 15.94 kB / 361.9 MB, free: 1.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007889/0.03768, allocations: 0.5302 MB / 362.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03768, allocations: 0 / 362.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005429/0.03823, allocations: 135.7 kB / 362.6 MB, free: 1.176 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.005223/0.04345, allocations: 0.6496 MB / 363.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.04504, allocations: 0.5488 MB / 363.8 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.04505, allocations: 0 / 363.8 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007327/0.04578, allocations: 329.6 kB / 364.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.04637, allocations: 94.44 kB / 364.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.04868, allocations: 1.172 MB / 365.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.04908, allocations: 345.2 kB / 365.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.04926, allocations: 64.16 kB / 365.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.04937, allocations: 32.5 kB / 365.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.04937, allocations: 0 / 365.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Templates: time 0.01483/0.0642, allocations: 6.694 MB / 372.5 MB, free: 7.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.691648608073592]