Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001613/0.001613, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001842/0.001842, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.286/1.286, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03817/0.03817, allocations: 8.048 MB / 299.1 MB, free: 6.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.89 kB / 361.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1902, allocations: 51.2 MB / 412.5 MB, free: 26.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.00376/0.194, allocations: 3.173 MB / 415.7 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1951, allocations: 0.7911 MB / 416.5 MB, free: 22.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.1953, allocations: 11.94 kB / 416.5 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.1957, allocations: 283 kB / 416.7 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.1961, allocations: 215 kB / 417 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.1966, allocations: 286.5 kB / 417.2 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.1969, allocations: 499.1 kB / 417.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.1972, allocations: 212.7 kB / 417.9 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1974, allocations: 207.3 kB / 418.1 MB, free: 20.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1976, allocations: 287.1 kB / 418.4 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.1976, allocations: 43.94 kB / 418.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1977, allocations: 63.94 kB / 418.5 MB, free: 20.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1979, allocations: 179.5 kB / 418.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.198, allocations: 298.2 kB / 419 MB, free: 19.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.1985, allocations: 0.6968 MB / 419.7 MB, free: 18.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1985, allocations: 0 / 419.7 MB, free: 18.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1985, allocations: 0 / 419.7 MB, free: 18.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1985, allocations: 0 / 419.7 MB, free: 18.94 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.001197/0.1997, allocations: 1.025 MB / 420.7 MB, free: 17.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1997, allocations: 19.91 kB / 420.7 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.701e-05/0.1998, allocations: 72 kB / 420.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.2003, allocations: 0.5275 MB / 421.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.2003, allocations: 24.59 kB / 421.3 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.2004, allocations: 32 kB / 421.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.201, allocations: 381.3 kB / 421.7 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.201, allocations: 7.844 kB / 421.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.2011, allocations: 16 kB / 421.8 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2011, allocations: 8 kB / 421.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.2017, allocations: 262.4 kB / 422 MB, free: 16.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.2033, allocations: 1.667 MB / 423.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/0.2041, allocations: 290.5 kB / 424 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.2044, allocations: 104.8 kB / 424.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.2044, allocations: 4 kB / 424.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.2049, allocations: 171.3 kB / 424.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.2049, allocations: 0 / 424.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001704/0.2066, allocations: 0.6501 MB / 424.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2066, allocations: 81.11 kB / 425 MB, free: 13.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.2073, allocations: 0.9611 MB / 426 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2073, allocations: 33.7 kB / 426 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.2075, allocations: 343.9 kB / 426.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.2076, allocations: 67 kB / 426.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.2076, allocations: 53.7 kB / 426.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.2077, allocations: 374.8 kB / 426.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.208, allocations: 113.1 kB / 426.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.2084, allocations: 196.1 kB / 427.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.209, allocations: 322.5 kB / 427.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.209, allocations: 3.938 kB / 427.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001059/0.21, allocations: 0.4989 MB / 427.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.2101, allocations: 33.7 kB / 428 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.2101, allocations: 7.938 kB / 428 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.2103, allocations: 65.03 kB / 428 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2105, allocations: 47.91 kB / 428.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.2123, allocations: 1.99 MB / 430.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.2126, allocations: 43.81 kB / 430.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.2126, allocations: 12 kB / 430.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003937/0.213, allocations: 312.3 kB / 430.4 MB, free: 7.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002806/0.2133, allocations: 187.2 kB / 430.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004954/0.2138, allocations: 300.5 kB / 430.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.2138, allocations: 7.922 kB / 430.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007492/0.2146, allocations: 437.7 kB / 431.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2146, allocations: 29.7 kB / 431.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.2146, allocations: 4 kB / 431.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/0.2147, allocations: 48.83 kB / 431.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.2149, allocations: 47.91 kB / 431.5 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.216, allocations: 1.764 MB / 433.2 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.2163, allocations: 35.81 kB / 433.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.2163, allocations: 12 kB / 433.3 MB, free: 4.531 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.0001164/0.2165, allocations: 202.7 kB / 433.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.2165, allocations: 59.25 kB / 433.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009315/0.2175, allocations: 395.9 kB / 433.9 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2175, allocations: 4 kB / 433.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.2175, allocations: 0 / 433.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2175, allocations: 4 kB / 433.9 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.2179, allocations: 489.1 kB / 434.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2179, allocations: 0 / 434.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.2181, allocations: 39.89 kB / 434.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.2183, allocations: 68.81 kB / 434.5 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2183, allocations: 8 kB / 434.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.22, allocations: 1.962 MB / 436.5 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.22, allocations: 3.938 kB / 436.5 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2211, allocations: 0.5111 MB / 437 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2212, allocations: 156.3 kB / 437.1 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.2213, allocations: 4 kB / 437.1 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2215, allocations: 23.97 kB / 437.2 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.2216, allocations: 31.91 kB / 437.2 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2216, allocations: 7.984 kB / 437.2 MB, free: 352 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006824/0.2223, allocations: 0.7061 MB / 437.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2223, allocations: 0 / 437.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007282/0.2231, allocations: 183.4 kB / 438.1 MB, free: 15.46 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.000809/0.2239, allocations: 373.2 kB / 438.5 MB, free: 15.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.2256, allocations: 0.8098 MB / 439.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2256, allocations: 0 / 439.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.2263, allocations: 287.3 kB / 439.6 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.2267, allocations: 85.39 kB / 439.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.2288, allocations: 1.382 MB / 441 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.2293, allocations: 0.9217 MB / 441.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.922e-05/0.2294, allocations: 27.44 kB / 442 MB, free: 11.6 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2294, allocations: 0 / 442 MB, free: 11.6 MB / 318.1 MB Notification: Performance of Templates: time 0.01148/0.2409, allocations: 9.292 MB / 451.3 MB, free: 2.305 MB / 318.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)