Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0021/0.0021, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1383/0.1383, allocations: 8.925 MB / 299 MB, free: 2.035 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 361.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09659, allocations: 51.49 MB / 412.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.005928/0.1026, allocations: 3.788 MB / 416.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.1054, allocations: 1.693 MB / 418.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.1056, allocations: 11.94 kB / 418.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.1062, allocations: 319.1 kB / 418.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.1068, allocations: 263 kB / 419 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.1076, allocations: 371.2 kB / 419.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007806/0.1084, allocations: 0.6861 MB / 420 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.1088, allocations: 248 kB / 420.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.1092, allocations: 286.9 kB / 420.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.1097, allocations: 390.6 kB / 420.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.1098, allocations: 56 kB / 421 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.11, allocations: 112 kB / 421.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.1103, allocations: 315 kB / 421.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.1108, allocations: 461.1 kB / 421.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.15/0.2607, allocations: 1.144 MB / 423 MB, free: 38.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2608, allocations: 0 / 423 MB, free: 38.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2608, allocations: 0 / 423 MB, free: 38.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.546e-05/0.2608, allocations: 0 / 423 MB, free: 38.2 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001913/0.2627, allocations: 1.421 MB / 424.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2628, allocations: 18.66 kB / 424.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.2629, allocations: 75.47 kB / 424.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.263, allocations: 121.4 kB / 424.6 MB, free: 37.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008188/0.2638, allocations: 0.8337 MB / 425.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.2639, allocations: 33.19 kB / 425.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.264, allocations: 48.78 kB / 425.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007682/0.2647, allocations: 449.4 kB / 426 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2648, allocations: 1 kB / 426 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.2648, allocations: 17.19 kB / 426 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.2648, allocations: 12.09 kB / 426 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.2656, allocations: 334.5 kB / 426.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.2678, allocations: 2.017 MB / 428.4 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008385/0.2686, allocations: 436.2 kB / 428.8 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.269, allocations: 136.8 kB / 428.9 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.269, allocations: 9.172 kB / 428.9 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.2694, allocations: 193.7 kB / 429.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.733e-06/0.2694, allocations: 0 / 429.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001604/0.271, allocations: 0.6796 MB / 429.8 MB, free: 35.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.2711, allocations: 83.09 kB / 429.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.2726, allocations: 1.663 MB / 431.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.2726, allocations: 34.73 kB / 431.6 MB, free: 35.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.2729, allocations: 484.4 kB / 432 MB, free: 35.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.2729, allocations: 92.62 kB / 432.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.273, allocations: 80.5 kB / 432.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.2731, allocations: 328.2 kB / 432.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.2734, allocations: 142.8 kB / 432.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.2738, allocations: 217.6 kB / 432.9 MB, free: 34.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.2744, allocations: 364.3 kB / 433.2 MB, free: 34.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2745, allocations: 0 / 433.2 MB, free: 34.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001016/0.2755, allocations: 0.5689 MB / 433.8 MB, free: 34.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.2755, allocations: 37.33 kB / 433.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.2755, allocations: 3.312 kB / 433.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.2758, allocations: 65.58 kB / 433.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.2761, allocations: 72.81 kB / 434 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.2773, allocations: 1.825 MB / 435.8 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.2776, allocations: 52.91 kB / 435.9 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2777, allocations: 13.38 kB / 435.9 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005451/0.2782, allocations: 462 kB / 436.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00031/0.2785, allocations: 209.3 kB / 436.5 MB, free: 32.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005701/0.2791, allocations: 336.5 kB / 436.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.2791, allocations: 0 / 436.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009306/0.2801, allocations: 0.5463 MB / 437.4 MB, free: 31.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2801, allocations: 32.08 kB / 437.4 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.2801, allocations: 4.375 kB / 437.4 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.2803, allocations: 62.27 kB / 437.5 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.2806, allocations: 69.75 kB / 437.6 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.2817, allocations: 1.816 MB / 439.4 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.282, allocations: 38.69 kB / 439.4 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.282, allocations: 16.72 kB / 439.4 MB, free: 30.25 MB / 350.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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.0001005/0.2821, allocations: 217.1 kB / 439.6 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-05/0.2822, allocations: 94.41 kB / 439.7 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009578/0.2832, allocations: 471.1 kB / 440.2 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2832, allocations: 3 kB / 440.2 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2832, allocations: 3.234 kB / 440.2 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2832, allocations: 0 / 440.2 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.2848, allocations: 1.219 MB / 441.4 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2848, allocations: 3.516 kB / 441.4 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.2851, allocations: 49.84 kB / 441.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001722/0.2852, allocations: 60.88 kB / 441.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.2853, allocations: 19.16 kB / 441.6 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.2864, allocations: 1.788 MB / 443.3 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2864, allocations: 3.938 kB / 443.3 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2876, allocations: 0.6864 MB / 444 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.2878, allocations: 219.1 kB / 444.2 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/0.2879, allocations: 7.25 kB / 444.3 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.2882, allocations: 30.05 kB / 444.3 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.2883, allocations: 38.3 kB / 444.3 MB, free: 26.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.2884, allocations: 6.688 kB / 444.3 MB, free: 26.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001081/0.2894, allocations: 1.195 MB / 445.5 MB, free: 26.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2895, allocations: 0 / 445.5 MB, free: 26.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007868/0.2902, allocations: 276.2 kB / 445.8 MB, free: 26.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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.003502/0.2938, allocations: 1.738 MB / 447.5 MB, free: 25.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.2952, allocations: 0.8831 MB / 448.4 MB, free: 25.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2952, allocations: 0 / 448.4 MB, free: 25.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.2957, allocations: 281.2 kB / 448.7 MB, free: 24.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.2964, allocations: 110.1 kB / 448.8 MB, free: 24.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.31, allocations: 10.83 MB / 459.6 MB, free: 19.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.3105, allocations: 1.09 MB / 460.7 MB, free: 18.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000343/0.3108, allocations: 131.6 kB / 460.8 MB, free: 18.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.3112, allocations: 348.6 kB / 461.2 MB, free: 18.47 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3112, allocations: 0 / 461.2 MB, free: 18.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04533/0.3566, allocations: 19.64 MB / 480.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.3568, allocations: 263.4 kB / 481.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.701, allocations: 1.375 kB / 481.1 MB, free: 14.76 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1)