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.0009617/0.0009617, allocations: 102 kB / 16.23 MB, free: 6.328 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.0009641/0.000964, allocations: 187.8 kB / 17.16 MB, free: 5.938 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.31/1.31, allocations: 222.9 MB / 240.8 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04219/0.04219, allocations: 8.587 MB / 299.6 MB, free: 6.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.91 kB / 361.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2278, allocations: 51.32 MB / 413.2 MB, free: 25.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004038/0.2319, allocations: 3.124 MB / 416.4 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.233, allocations: 0.768 MB / 417.1 MB, free: 21.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.2331, allocations: 7.938 kB / 417.1 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.2335, allocations: 275.1 kB / 417.4 MB, free: 21.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.2339, allocations: 215 kB / 417.6 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.2344, allocations: 282.5 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.2347, allocations: 459.3 kB / 418.3 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.235, allocations: 183.1 kB / 418.5 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.2351, allocations: 203.3 kB / 418.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.2353, allocations: 275.1 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.2354, allocations: 40 kB / 419 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.2355, allocations: 71.86 kB / 419.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.2356, allocations: 191.4 kB / 419.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.2358, allocations: 278.3 kB / 419.5 MB, free: 19.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.2363, allocations: 0.6657 MB / 420.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2363, allocations: 0 / 420.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2363, allocations: 7.938 kB / 420.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2363, allocations: 3.938 kB / 420.2 MB, free: 18.54 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001163/0.2375, allocations: 0.9899 MB / 421.2 MB, free: 17.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.2375, allocations: 8.031 kB / 421.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.2376, allocations: 75.98 kB / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.2381, allocations: 0.5069 MB / 421.8 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.2381, allocations: 24.66 kB / 421.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.2381, allocations: 31.91 kB / 421.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.2387, allocations: 359.3 kB / 422.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2387, allocations: 0 / 422.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.2388, allocations: 12 kB / 422.2 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2388, allocations: 8 kB / 422.2 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.2394, allocations: 254 kB / 422.5 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.2409, allocations: 1.471 MB / 423.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.2417, allocations: 282.5 kB / 424.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.2419, allocations: 112.7 kB / 424.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.242, allocations: 4 kB / 424.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.2424, allocations: 164.1 kB / 424.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.724e-06/0.2425, allocations: 0 / 424.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001644/0.2441, allocations: 0.6341 MB / 425.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2442, allocations: 81.11 kB / 425.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.2449, allocations: 0.9492 MB / 426.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2449, allocations: 29.7 kB / 426.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.2451, allocations: 332 kB / 426.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.2452, allocations: 67.09 kB / 426.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.2453, allocations: 53.88 kB / 426.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.2454, allocations: 378.8 kB / 427 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.2457, allocations: 105.5 kB / 427.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.2459, allocations: 176.8 kB / 427.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.2465, allocations: 287.4 kB / 427.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2465, allocations: 0 / 427.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009408/0.2474, allocations: 491 kB / 428 MB, free: 10.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.2475, allocations: 34.8 kB / 428.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2475, allocations: 3.938 kB / 428.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/0.2477, allocations: 60.81 kB / 428.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.2479, allocations: 43.91 kB / 428.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.2496, allocations: 1.978 MB / 430.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.2498, allocations: 39.84 kB / 430.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.2499, allocations: 8.188 kB / 430.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003784/0.2502, allocations: 316.2 kB / 430.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002393/0.2505, allocations: 157.7 kB / 430.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004454/0.2509, allocations: 270.5 kB / 430.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.2509, allocations: 0 / 430.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006636/0.2516, allocations: 406.2 kB / 431.3 MB, free: 6.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2516, allocations: 33.69 kB / 431.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.2517, allocations: 4 kB / 431.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.2518, allocations: 44.83 kB / 431.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.2519, allocations: 47.91 kB / 431.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008962/0.2529, allocations: 1.756 MB / 433.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.2531, allocations: 31.89 kB / 433.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2531, allocations: 12 kB / 433.3 MB, free: 4.75 MB / 302.1 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 (23): * Single equations (assignments): 21 * 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 8.786e-05/0.2532, allocations: 196.2 kB / 433.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.2533, allocations: 59.19 kB / 433.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008176/0.2541, allocations: 387.6 kB / 433.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2541, allocations: 4 kB / 433.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2541, allocations: 4.125 kB / 433.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2541, allocations: 3.984 kB / 433.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.2544, allocations: 485.2 kB / 434.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2545, allocations: 0 / 434.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.2547, allocations: 31.97 kB / 434.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.2549, allocations: 72.81 kB / 434.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2549, allocations: 7.922 kB / 434.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.2564, allocations: 1.955 MB / 436.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.2564, allocations: 4.219 kB / 436.4 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.2574, allocations: 0.5076 MB / 436.9 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.2575, allocations: 148.3 kB / 437.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.2576, allocations: 12 kB / 437.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.2578, allocations: 23.97 kB / 437.1 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.2579, allocations: 27.97 kB / 437.2 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.2579, allocations: 7.984 kB / 437.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005488/0.2584, allocations: 0.6904 MB / 437.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2584, allocations: 0 / 437.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006637/0.2591, allocations: 191.4 kB / 438 MB, free: 15.73 MB / 318.1 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 (14): * Single equations (assignments): 11 * 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.0007572/0.2599, allocations: 354.4 kB / 438.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.2614, allocations: 0.7776 MB / 439.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2614, allocations: 0 / 439.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.262, allocations: 286.6 kB / 439.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.2624, allocations: 76.36 kB / 439.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.2643, allocations: 1.285 MB / 440.8 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.2648, allocations: 0.9219 MB / 441.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.265, allocations: 63.23 kB / 441.8 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.265, allocations: 31.44 kB / 441.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of SimCode: time 1.413e-06/0.2651, allocations: 0 / 441.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of Templates: time 0.01139/0.2764, allocations: 6.262 MB / 448.1 MB, free: 5.715 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 -s cvode -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)