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.0008299/0.0008299, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.001974, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008886/0.0008886, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.002038, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9205/0.9205, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08022/1.001, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.02598/0.02598, allocations: 6.483 MB / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004152/0.03013, allocations: 2.476 MB / 252.9 MB, free: 5.969 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 1.714e-06/1.714e-06, allocations: 0 / 254.2 MB, free: 4.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.07e-05, allocations: 5.828 kB / 254.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.003829/0.00385, allocations: 3.809 MB / 258 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.005458, allocations: 1.23 MB / 259.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.00566, allocations: 11.94 kB / 259.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.005994, allocations: 222.7 kB / 259.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.006407, allocations: 298.4 kB / 259.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.006896, allocations: 363 kB / 260.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000565/0.007461, allocations: 0.651 MB / 260.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.00775, allocations: 197.8 kB / 260.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.00821, allocations: 475.9 kB / 261.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.008453, allocations: 227.3 kB / 261.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.008507, allocations: 56 kB / 261.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.008653, allocations: 123.8 kB / 261.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.008789, allocations: 187.4 kB / 262 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.008923, allocations: 163.5 kB / 262.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.009456, allocations: 0.5487 MB / 262.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.638e-05/0.009472, allocations: 0 / 262.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.009473, allocations: 4 kB / 262.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.009489, allocations: 0 / 262.7 MB, free: 12.15 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.00104/0.01053, allocations: 1.115 MB / 263.8 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.01056, allocations: 11.98 kB / 263.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.775e-05/0.01065, allocations: 84.86 kB / 263.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.01103, allocations: 394.2 kB / 264.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.01106, allocations: 33.38 kB / 264.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.0111, allocations: 48.3 kB / 264.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.01142, allocations: 336.4 kB / 264.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.01144, allocations: 0 / 264.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.01146, allocations: 16 kB / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.01146, allocations: 11.94 kB / 264.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.01159, allocations: 98.89 kB / 264.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.01269, allocations: 1.086 MB / 265.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.01292, allocations: 153.2 kB / 266.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.01296, allocations: 40.84 kB / 266.1 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.01299, allocations: 4 kB / 266.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.01314, allocations: 113.9 kB / 266.2 MB, free: 8.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.315e-06/0.01315, allocations: 0 / 266.2 MB, free: 8.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004577/0.0136, allocations: 261.6 kB / 266.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.01363, allocations: 63.33 kB / 266.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.01403, allocations: 0.5953 MB / 267.1 MB, free: 7.535 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.01405, allocations: 33.7 kB / 267.2 MB, free: 7.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.01417, allocations: 270.3 kB / 267.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.01422, allocations: 91.25 kB / 267.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.01429, allocations: 77.98 kB / 267.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.01439, allocations: 378.6 kB / 268 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.01445, allocations: 66.44 kB / 268 MB, free: 6.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.01453, allocations: 133.4 kB / 268.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.01468, allocations: 200.1 kB / 268.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01468, allocations: 0 / 268.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000275/0.01496, allocations: 306.9 kB / 268.6 MB, free: 5.891 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.015, allocations: 33.7 kB / 268.7 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.015, allocations: 3.938 kB / 268.7 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.01517, allocations: 59.8 kB / 268.7 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.01532, allocations: 79.91 kB / 268.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008642/0.01618, allocations: 1.561 MB / 270.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.0163, allocations: 35.77 kB / 270.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.01632, allocations: 15.94 kB / 270.4 MB, free: 4.004 MB / 266.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 (ice.tokgFuel.local_reset,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1) * 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.0001089/0.01643, allocations: 136.6 kB / 270.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.01647, allocations: 43.95 kB / 270.6 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.0167, allocations: 211.9 kB / 270.8 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.0167, allocations: 4 kB / 270.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.0167, allocations: 0 / 270.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01671, allocations: 3.984 kB / 270.8 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.01693, allocations: 269.4 kB / 271.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01693, allocations: 3.938 kB / 271.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.01705, allocations: 43.92 kB / 271.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.01715, allocations: 79.44 kB / 271.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.01727, allocations: 55.62 kB / 271.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01729, allocations: 11.98 kB / 271.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007776/0.01806, allocations: 1.561 MB / 272.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01807, allocations: 3.938 kB / 272.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.01833, allocations: 262.3 kB / 273.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.01836, allocations: 4 kB / 273.1 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.01844, allocations: 15.98 kB / 273.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.01849, allocations: 27.89 kB / 273.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.0185, allocations: 8 kB / 273.1 MB, free: 1.109 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.01869, allocations: 280.6 kB / 273.4 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01869, allocations: 0 / 273.4 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003073/0.019, allocations: 135.7 kB / 273.6 MB, free: 0.707 MB / 266.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.001867/0.02087, allocations: 0.8512 MB / 274.4 MB, free: 216 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.09376/0.1146, allocations: 354 kB / 274.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.596e-05/0.1147, allocations: 7.969 kB / 274.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.1149, allocations: 201.1 kB / 275 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1153, allocations: 118.8 kB / 275.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.1188, allocations: 1.14 MB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.1189, allocations: 172.9 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.119, allocations: 58.86 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.1192, allocations: 120.5 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.243e-06/0.1192, allocations: 0 / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Templates: time 0.01146/0.1307, allocations: 7.164 MB / 283.7 MB, free: 12.41 MB / 266.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=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.752563390880823]