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.001032/0.001032, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.00249, allocations: 440 kB / 10.41 MB, free: 284 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.001027/0.001027, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002392, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.1/1.1, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1254/1.225, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.03028/0.03028, allocations: 6.464 MB / 250.6 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005808/0.03609, allocations: 2.48 MB / 253.1 MB, free: 5.863 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.294e-06/2.294e-06, allocations: 0 / 254.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.745e-05, allocations: 10.25 kB / 254.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005056/0.005083, allocations: 3.821 MB / 258.2 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.007134, allocations: 1.23 MB / 259.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.007451, allocations: 7.938 kB / 259.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009395/0.008391, allocations: 238.6 kB / 259.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006213/0.009012, allocations: 290.3 kB / 259.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000736/0.009748, allocations: 375 kB / 260.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007183/0.01047, allocations: 0.6431 MB / 261 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.01086, allocations: 201.8 kB / 261.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.01152, allocations: 468 kB / 261.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.01185, allocations: 235.3 kB / 261.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-05/0.01192, allocations: 56 kB / 261.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.01216, allocations: 115.9 kB / 262 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.01235, allocations: 195.4 kB / 262.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.01251, allocations: 163.5 kB / 262.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008526/0.01337, allocations: 0.5486 MB / 262.9 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.01338, allocations: 0 / 262.9 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01338, allocations: 0 / 262.9 MB, free: 12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.851e-05/0.0134, allocations: 0 / 262.9 MB, free: 12 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.001354/0.01475, allocations: 1.123 MB / 264 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.0148, allocations: 8.031 kB / 264 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.01492, allocations: 84.86 kB / 264.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.01542, allocations: 398.2 kB / 264.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.01546, allocations: 29.38 kB / 264.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.01552, allocations: 48.36 kB / 264.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.01593, allocations: 320.4 kB / 264.9 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.01595, allocations: 3.984 kB / 264.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.01598, allocations: 20 kB / 264.9 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.01599, allocations: 12 kB / 264.9 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.01613, allocations: 102.9 kB / 265 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.01757, allocations: 1.089 MB / 266.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.01785, allocations: 145.1 kB / 266.3 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.0179, allocations: 36.84 kB / 266.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.01794, allocations: 11.98 kB / 266.3 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.01813, allocations: 105.9 kB / 266.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.314e-06/0.01813, allocations: 0 / 266.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001012/0.01915, allocations: 273.6 kB / 266.7 MB, free: 8.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.01919, allocations: 55.41 kB / 266.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.01968, allocations: 0.6031 MB / 267.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.01971, allocations: 29.7 kB / 267.4 MB, free: 7.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.01986, allocations: 270.3 kB / 267.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.01992, allocations: 99.19 kB / 267.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.02, allocations: 70 kB / 267.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.02013, allocations: 386.6 kB / 268.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.02021, allocations: 62.44 kB / 268.2 MB, free: 6.453 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/0.0203, allocations: 133.8 kB / 268.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.02048, allocations: 212.1 kB / 268.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.02049, allocations: 0 / 268.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003367/0.02082, allocations: 302.9 kB / 268.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.02087, allocations: 37.7 kB / 268.9 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.02088, allocations: 4.156 kB / 268.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.0211, allocations: 63.64 kB / 269 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.02127, allocations: 75.89 kB / 269.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.02245, allocations: 1.557 MB / 270.6 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.0226, allocations: 39.77 kB / 270.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.02262, allocations: 11.94 kB / 270.7 MB, free: 3.848 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.0001302/0.02275, allocations: 132.6 kB / 270.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.02279, allocations: 39.95 kB / 270.8 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.02307, allocations: 211.9 kB / 271 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02308, allocations: 7.984 kB / 271 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02308, allocations: 7.969 kB / 271 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.02308, allocations: 0 / 271 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.02335, allocations: 273.6 kB / 271.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.02335, allocations: 4 kB / 271.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.02348, allocations: 43.97 kB / 271.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.02355, allocations: 71.44 kB / 271.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/0.0237, allocations: 55.62 kB / 271.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.02372, allocations: 12 kB / 271.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009694/0.02469, allocations: 1.553 MB / 273.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.02469, allocations: 3.938 kB / 273.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.025, allocations: 278.1 kB / 273.3 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.02503, allocations: 8.031 kB / 273.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.02511, allocations: 15.98 kB / 273.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.02518, allocations: 23.95 kB / 273.4 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.02519, allocations: 7.984 kB / 273.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002282/0.02542, allocations: 276.6 kB / 273.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02542, allocations: 0 / 273.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004578/0.02588, allocations: 135.6 kB / 273.8 MB, free: 0.5469 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.002089/0.02796, allocations: 0.8631 MB / 274.6 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.1349/0.1628, allocations: 350.9 kB / 275 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.121e-05/0.1629, allocations: 7.812 kB / 275 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.1632, allocations: 213 kB / 275.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.1639, allocations: 0.5535 MB / 275.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.1678, allocations: 1.132 MB / 276.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.168, allocations: 169.9 kB / 277.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.1682, allocations: 55.88 kB / 277.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.1684, allocations: 126.8 kB / 277.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1684, allocations: 3.203 kB / 277.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Templates: time 0.0162/0.1846, allocations: 7.242 MB / 284.5 MB, free: 10.27 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: 3.275787964463234]