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.00109/0.00109, allocations: 96.64 kB / 16.23 MB, free: 5.922 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.001148/0.001148, allocations: 189.5 kB / 17.16 MB, free: 5.555 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.305/1.305, allocations: 222.9 MB / 240.8 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03829/0.03829, allocations: 8.038 MB / 299 MB, free: 6.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 56.14 kB / 361.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2035, allocations: 51.19 MB / 412.4 MB, free: 26.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003901/0.2074, allocations: 3.169 MB / 415.6 MB, free: 23.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.2085, allocations: 0.7989 MB / 416.4 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.2087, allocations: 7.938 kB / 416.4 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.2091, allocations: 287 kB / 416.7 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.2095, allocations: 215 kB / 416.9 MB, free: 21.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.21, allocations: 294 kB / 417.2 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.2103, allocations: 495.1 kB / 417.6 MB, free: 20.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.2106, allocations: 204.7 kB / 417.8 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.2107, allocations: 211.3 kB / 418.1 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.2109, allocations: 279.1 kB / 418.3 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.211, allocations: 47.94 kB / 418.4 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.2111, allocations: 60 kB / 418.4 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.2113, allocations: 183.5 kB / 418.6 MB, free: 19.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.2114, allocations: 298.2 kB / 418.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.2119, allocations: 0.6929 MB / 419.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2119, allocations: 4 kB / 419.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2119, allocations: 0 / 419.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2119, allocations: 0 / 419.6 MB, free: 18.98 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.001284/0.2132, allocations: 1.025 MB / 420.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2132, allocations: 15.97 kB / 420.6 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.157e-05/0.2133, allocations: 76 kB / 420.7 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.2139, allocations: 0.5197 MB / 421.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2139, allocations: 28.59 kB / 421.3 MB, free: 17.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.2139, allocations: 35.98 kB / 421.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.2145, allocations: 373.3 kB / 421.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.2146, allocations: 11.84 kB / 421.7 MB, free: 16.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2146, allocations: 12 kB / 421.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.2146, allocations: 8 kB / 421.7 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.2152, allocations: 270.3 kB / 422 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.2168, allocations: 1.678 MB / 423.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.2175, allocations: 282.5 kB / 423.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.2178, allocations: 112.8 kB / 424 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.2178, allocations: 0 / 424 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.2183, allocations: 167.3 kB / 424.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.2183, allocations: 0 / 424.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001577/0.2199, allocations: 0.6419 MB / 424.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.2199, allocations: 85.11 kB / 424.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/0.2206, allocations: 0.9611 MB / 425.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.2206, allocations: 33.7 kB / 425.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.2208, allocations: 343.9 kB / 426.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.2209, allocations: 70.98 kB / 426.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.221, allocations: 53.7 kB / 426.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.2211, allocations: 382.8 kB / 426.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.2213, allocations: 113.1 kB / 426.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.2216, allocations: 196.1 kB / 427 MB, free: 11.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.2222, allocations: 316.5 kB / 427.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2222, allocations: 8 kB / 427.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000957/0.2231, allocations: 0.4986 MB / 427.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.2232, allocations: 33.7 kB / 427.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2232, allocations: 3.938 kB / 427.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/0.2234, allocations: 65.03 kB / 428 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.2236, allocations: 51.91 kB / 428 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.2253, allocations: 1.978 MB / 430 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.2256, allocations: 47.81 kB / 430 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.2256, allocations: 8 kB / 430 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003942/0.226, allocations: 312.3 kB / 430.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002484/0.2263, allocations: 187.2 kB / 430.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004412/0.2268, allocations: 298.9 kB / 430.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.2268, allocations: 4 kB / 430.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007061/0.2275, allocations: 439 kB / 431.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2275, allocations: 33.7 kB / 431.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.2275, allocations: 0 / 431.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.2276, allocations: 48.83 kB / 431.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.2278, allocations: 51.91 kB / 431.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009142/0.2287, allocations: 1.752 MB / 433.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.229, allocations: 47.91 kB / 433.2 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.2291, allocations: 12 kB / 433.2 MB, free: 4.574 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 0.0001046/0.2292, allocations: 210.5 kB / 433.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.2292, allocations: 55.25 kB / 433.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.2301, allocations: 391.8 kB / 433.8 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2301, allocations: 4 kB / 433.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.2301, allocations: 0 / 433.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2301, allocations: 0 / 433.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.2304, allocations: 489.1 kB / 434.3 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2305, allocations: 4 kB / 434.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.2307, allocations: 43.89 kB / 434.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.2309, allocations: 68.81 kB / 434.4 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.2309, allocations: 7.938 kB / 434.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.2324, allocations: 1.966 MB / 436.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2324, allocations: 0 / 436.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.2335, allocations: 0.5179 MB / 436.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.2336, allocations: 152.3 kB / 437.1 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.2337, allocations: 8 kB / 437.1 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2339, allocations: 23.97 kB / 437.1 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.234, allocations: 27.91 kB / 437.1 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.234, allocations: 7.984 kB / 437.1 MB, free: 392 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006824/0.2347, allocations: 0.706 MB / 437.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2347, allocations: 0 / 437.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007294/0.2355, allocations: 187.4 kB / 438 MB, free: 15.5 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.0008636/0.2363, allocations: 370.8 kB / 438.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.238, allocations: 0.8105 MB / 439.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2381, allocations: 0 / 439.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.2387, allocations: 286.8 kB / 439.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.2392, allocations: 78.89 kB / 439.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.2413, allocations: 1.389 MB / 440.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.2419, allocations: 0.9178 MB / 441.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.242, allocations: 31.44 kB / 441.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.242, allocations: 0 / 441.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of Templates: time 0.01325/0.2552, allocations: 9.287 MB / 451.2 MB, free: 2.352 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)