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.001135/0.001135, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001166/0.001166, allocations: 173 kB / 23.49 MB, free: 1.059 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.099/1.099, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.02629/0.02629, allocations: 6.485 MB / 266.8 MB, free: 6.703 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 3.386e-06/3.386e-06, allocations: 0 / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.981e-05, allocations: 2.312 kB / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00526/0.0053, allocations: 3.797 MB / 341.9 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.007326, allocations: 1.184 MB / 343.1 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.007697, allocations: 11.94 kB / 343.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.008216, allocations: 206.8 kB / 343.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006854/0.008901, allocations: 286.3 kB / 343.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008005/0.009702, allocations: 367 kB / 343.9 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.01042, allocations: 0.6626 MB / 344.6 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.01081, allocations: 191.8 kB / 344.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.01135, allocations: 379 kB / 345.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.0117, allocations: 255.3 kB / 345.4 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.853e-05/0.01177, allocations: 56 kB / 345.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.01197, allocations: 115.9 kB / 345.6 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.01215, allocations: 227.2 kB / 345.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.01234, allocations: 203.4 kB / 346 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007767/0.01311, allocations: 0.5798 MB / 346.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.01312, allocations: 0 / 346.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01312, allocations: 0 / 346.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.01313, allocations: 8 kB / 346.6 MB, free: 2.602 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.00145/0.01458, allocations: 1.135 MB / 347.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.01463, allocations: 8.031 kB / 347.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.01481, allocations: 128.4 kB / 347.8 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.01546, allocations: 473 kB / 348.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.0155, allocations: 37.36 kB / 348.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.01557, allocations: 44.38 kB / 348.4 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.01615, allocations: 355.8 kB / 348.7 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.01617, allocations: 3.984 kB / 348.7 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.01621, allocations: 16 kB / 348.7 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.01623, allocations: 8 kB / 348.7 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.01655, allocations: 145.8 kB / 348.9 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.0184, allocations: 1.616 MB / 350.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.01877, allocations: 181.3 kB / 350.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.568e-05/0.01887, allocations: 51.66 kB / 350.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.0189, allocations: 12 kB / 350.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.01912, allocations: 124.9 kB / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.315e-06/0.01913, allocations: 0 / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007463/0.01987, allocations: 365.7 kB / 351.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.01991, allocations: 59.41 kB / 351.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006264/0.02054, allocations: 0.6948 MB / 352 MB, free: 12.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.02056, allocations: 37.64 kB / 352 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.02082, allocations: 427.2 kB / 352.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.02088, allocations: 91.23 kB / 352.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.02098, allocations: 75.73 kB / 352.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.0212, allocations: 0.5703 MB / 353.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.02133, allocations: 78.42 kB / 353.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.02148, allocations: 168.4 kB / 353.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.02173, allocations: 240 kB / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02173, allocations: 0 / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004961/0.02223, allocations: 422.5 kB / 354.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.02226, allocations: 29.7 kB / 354.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.02228, allocations: 4 kB / 354.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.02254, allocations: 67.62 kB / 354.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.0227, allocations: 63.91 kB / 354.2 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.02404, allocations: 2.134 MB / 356.3 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.02419, allocations: 43.72 kB / 356.4 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.02421, allocations: 12 kB / 356.4 MB, free: 8.25 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.0001468/0.02436, allocations: 184.5 kB / 356.6 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.02442, allocations: 75.61 kB / 356.7 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.02479, allocations: 259 kB / 356.9 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.02479, allocations: 4 kB / 356.9 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.02479, allocations: 3.938 kB / 356.9 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.0248, allocations: 0 / 356.9 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.02519, allocations: 440.4 kB / 357.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.02519, allocations: 4 kB / 357.3 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.02531, allocations: 31.98 kB / 357.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.02548, allocations: 63.64 kB / 357.4 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.02549, allocations: 7.984 kB / 357.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.02657, allocations: 2.126 MB / 359.6 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02657, allocations: 0 / 359.6 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.02701, allocations: 359.4 kB / 359.9 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.0271, allocations: 83.48 kB / 360 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.02713, allocations: 4 kB / 360 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.02722, allocations: 15.98 kB / 360 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.02729, allocations: 23.95 kB / 360.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.02731, allocations: 11.94 kB / 360.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003976/0.0277, allocations: 466.9 kB / 360.5 MB, free: 3.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0277, allocations: 0 / 360.5 MB, free: 3.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.0281, allocations: 127.7 kB / 360.6 MB, free: 3.805 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.001321/0.02942, allocations: 0.5571 MB / 361.2 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.02996, allocations: 450.6 kB / 361.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02996, allocations: 0 / 361.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.03018, allocations: 277.8 kB / 361.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.03052, allocations: 96.91 kB / 362 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.03221, allocations: 1.113 MB / 363.1 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.03232, allocations: 169.2 kB / 363.3 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.03244, allocations: 60.22 kB / 363.3 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.03251, allocations: 40.5 kB / 363.4 MB, free: 1.176 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.03252, allocations: 0 / 363.4 MB, free: 1.176 MB / 282.7 MB Notification: Performance of Templates: time 0.01105/0.04357, allocations: 6.722 MB / 370.1 MB, free: 10.51 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=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.08948165201582]