Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 110.4 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009903/0.0009904, allocations: 195.4 kB / 16.91 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03676/0.03676, allocations: 8.049 MB / 298.8 MB, free: 6.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 360.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1969, allocations: 51.18 MB / 412 MB, free: 26.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003509/0.2005, allocations: 3.212 MB / 415.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000926/0.2014, allocations: 0.7796 MB / 416 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.2016, allocations: 7.938 kB / 416 MB, free: 22.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.2019, allocations: 271.3 kB / 416.2 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.2022, allocations: 195.3 kB / 416.4 MB, free: 21.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.2027, allocations: 266.8 kB / 416.7 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.203, allocations: 499.1 kB / 417.2 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.2032, allocations: 196.8 kB / 417.4 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.2034, allocations: 207.3 kB / 417.6 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2036, allocations: 291 kB / 417.8 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.2036, allocations: 40 kB / 417.9 MB, free: 20.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.2037, allocations: 75.92 kB / 418 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2039, allocations: 187.5 kB / 418.1 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.204, allocations: 294.1 kB / 418.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.2044, allocations: 0.5497 MB / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2044, allocations: 0 / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2044, allocations: 0 / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.2044, allocations: 0 / 419 MB, free: 19.3 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001151/0.2056, allocations: 1.021 MB / 420 MB, free: 18.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2056, allocations: 8.031 kB / 420 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.2057, allocations: 76 kB / 420.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.2062, allocations: 0.5275 MB / 420.6 MB, free: 17.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2062, allocations: 24.59 kB / 420.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.2062, allocations: 36 kB / 420.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005815/0.2068, allocations: 381.2 kB / 421 MB, free: 17.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2069, allocations: 11.91 kB / 421.1 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.2069, allocations: 12 kB / 421.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2069, allocations: 4 kB / 421.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005734/0.2075, allocations: 270.3 kB / 421.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.209, allocations: 1.667 MB / 423 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/0.2098, allocations: 290.5 kB / 423.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.21, allocations: 108.8 kB / 423.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.21, allocations: 4 kB / 423.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.2105, allocations: 167.2 kB / 423.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.2105, allocations: 0 / 423.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001557/0.212, allocations: 0.6416 MB / 424.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2121, allocations: 85.11 kB / 424.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.2128, allocations: 0.9689 MB / 425.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2128, allocations: 29.7 kB / 425.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.2129, allocations: 347.9 kB / 425.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.213, allocations: 67.02 kB / 425.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.2131, allocations: 53.69 kB / 425.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.2131, allocations: 382.8 kB / 426.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.2134, allocations: 113.1 kB / 426.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.2137, allocations: 191.6 kB / 426.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.2142, allocations: 320.4 kB / 426.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2142, allocations: 4 kB / 426.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009351/0.2152, allocations: 0.5025 MB / 427.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.2152, allocations: 37.64 kB / 427.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2152, allocations: 3.938 kB / 427.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.2155, allocations: 57.05 kB / 427.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.2157, allocations: 59.89 kB / 427.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.2173, allocations: 1.978 MB / 429.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.2176, allocations: 43.75 kB / 429.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2176, allocations: 16.06 kB / 429.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003615/0.218, allocations: 308.3 kB / 429.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002426/0.2182, allocations: 191 kB / 429.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004289/0.2187, allocations: 287 kB / 430.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.2187, allocations: 4 kB / 430.2 MB, free: 7.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006822/0.2194, allocations: 437.6 kB / 430.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2194, allocations: 44.66 kB / 430.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-06/0.2194, allocations: 0 / 430.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/0.2195, allocations: 44.84 kB / 430.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.2197, allocations: 55.89 kB / 430.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008651/0.2206, allocations: 1.76 MB / 432.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.2208, allocations: 39.88 kB / 432.6 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2209, allocations: 15.98 kB / 432.6 MB, free: 4.898 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.toKgFuel.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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 9.177e-05/0.221, allocations: 208 kB / 432.8 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.221, allocations: 59.25 kB / 432.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008095/0.2218, allocations: 395.8 kB / 433.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2218, allocations: 4 kB / 433.2 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.2219, allocations: 0 / 433.2 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2219, allocations: 0 / 433.2 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.2222, allocations: 489.1 kB / 433.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2222, allocations: 4 kB / 433.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.2224, allocations: 35.91 kB / 433.7 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.2226, allocations: 72.8 kB / 433.8 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.2226, allocations: 8 kB / 433.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.2241, allocations: 1.959 MB / 435.8 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2241, allocations: 0 / 435.8 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2251, allocations: 0.5073 MB / 436.3 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.2252, allocations: 148.3 kB / 436.4 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.2253, allocations: 7.984 kB / 436.4 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.2255, allocations: 31.97 kB / 436.5 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.2256, allocations: 27.86 kB / 436.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.2256, allocations: 4 kB / 436.5 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004906/0.2261, allocations: 0.706 MB / 437.2 MB, free: 16 kB / 302.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.2261, allocations: 0 / 437.2 MB, free: 16 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006871/0.2268, allocations: 191.4 kB / 437.4 MB, free: 15.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y,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 (15): * Single equations (assignments): 12 * 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.0008034/0.2276, allocations: 375.8 kB / 437.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.2292, allocations: 0.8067 MB / 438.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2292, allocations: 0 / 438.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.2297, allocations: 290.7 kB / 438.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.2302, allocations: 82.94 kB / 438.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.2322, allocations: 1.561 MB / 440.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2327, allocations: 0.9217 MB / 441.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.2328, allocations: 31.44 kB / 441.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2328, allocations: 0 / 441.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of Templates: time 0.011/0.2438, allocations: 9.287 MB / 450.7 MB, free: 2.492 MB / 318.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)