Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.TestIceT01,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT01",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.001336/0.001336, 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.001353/0.001353, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.414/1.414, 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.141/0.141, allocations: 8.935 MB / 299 MB, free: 2.113 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.89 kB / 361.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09884, allocations: 51.48 MB / 412.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.006001/0.1049, allocations: 3.676 MB / 416.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.1079, allocations: 1.674 MB / 418.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.1082, allocations: 8 kB / 418.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000614/0.1088, allocations: 311.1 kB / 418.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000598/0.1095, allocations: 267 kB / 418.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008617/0.1103, allocations: 358.8 kB / 419.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007471/0.1111, allocations: 0.6471 MB / 419.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.1115, allocations: 234.9 kB / 420.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.1119, allocations: 271 kB / 420.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.1124, allocations: 370.6 kB / 420.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.054e-05/0.1125, allocations: 52 kB / 420.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.1127, allocations: 112 kB / 420.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.113, allocations: 307 kB / 421.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.1134, allocations: 449.1 kB / 421.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1146, allocations: 1.11 MB / 422.7 MB, free: 56 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1146, allocations: 0 / 422.7 MB, free: 56 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1146, allocations: 0 / 422.7 MB, free: 56 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1147, allocations: 0 / 422.7 MB, free: 56 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.154/0.2686, allocations: 1.388 MB / 424.1 MB, free: 43.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2687, allocations: 13.3 kB / 424.1 MB, free: 43.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.349e-05/0.2687, allocations: 74.39 kB / 424.2 MB, free: 43.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.2689, allocations: 115.3 kB / 424.3 MB, free: 43.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.2697, allocations: 0.8241 MB / 425.1 MB, free: 42.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2698, allocations: 29.84 kB / 425.1 MB, free: 42.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.2698, allocations: 43.94 kB / 425.2 MB, free: 42.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.2706, allocations: 414.3 kB / 425.6 MB, free: 42.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.2706, allocations: 4.594 kB / 425.6 MB, free: 42.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.2706, allocations: 19.84 kB / 425.6 MB, free: 42.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2706, allocations: 11.55 kB / 425.6 MB, free: 42.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.2714, allocations: 306.5 kB / 425.9 MB, free: 42.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.2736, allocations: 1.937 MB / 427.8 MB, free: 42.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.2744, allocations: 333.9 kB / 428.2 MB, free: 41.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.2747, allocations: 123 kB / 428.3 MB, free: 41.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.2748, allocations: 6.344 kB / 428.3 MB, free: 41.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.2752, allocations: 187.3 kB / 428.5 MB, free: 41.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.234e-06/0.2752, allocations: 3.156 kB / 428.5 MB, free: 41.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001278/0.2765, allocations: 0.5692 MB / 429.1 MB, free: 41.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2766, allocations: 85.45 kB / 429.1 MB, free: 41.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.2781, allocations: 1.654 MB / 430.8 MB, free: 40.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2781, allocations: 32.86 kB / 430.8 MB, free: 40.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.2784, allocations: 469.2 kB / 431.3 MB, free: 40.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.2785, allocations: 84.81 kB / 431.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.2786, allocations: 73.7 kB / 431.4 MB, free: 40.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.2786, allocations: 326 kB / 431.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.279, allocations: 148.5 kB / 431.9 MB, free: 39.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.2793, allocations: 209.5 kB / 432.1 MB, free: 39.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006286/0.28, allocations: 351.4 kB / 432.5 MB, free: 39.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.28, allocations: 0 / 432.5 MB, free: 39.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009204/0.2809, allocations: 0.5024 MB / 433 MB, free: 39.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.2809, allocations: 38.48 kB / 433 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.281, allocations: 0 / 433 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.2811, allocations: 24.52 kB / 433 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.2814, allocations: 80.56 kB / 433.1 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006558/0.2821, allocations: 1.372 MB / 434.5 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.2825, allocations: 52.58 kB / 434.5 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.2825, allocations: 13.84 kB / 434.5 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005245/0.283, allocations: 452 kB / 435 MB, free: 37.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002978/0.2833, allocations: 195.4 kB / 435.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005319/0.2839, allocations: 334.1 kB / 435.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.2839, allocations: 7.406 kB / 435.5 MB, free: 37.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008191/0.2847, allocations: 494.5 kB / 436 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2847, allocations: 32.3 kB / 436 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.2848, allocations: 4.219 kB / 436 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.708e-05/0.2848, allocations: 25.59 kB / 436 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.2851, allocations: 79.16 kB / 436.1 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005904/0.2857, allocations: 1.364 MB / 437.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.286, allocations: 45.14 kB / 437.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.2861, allocations: 20.41 kB / 437.5 MB, free: 35.78 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,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.811e-05/0.2862, allocations: 206.6 kB / 437.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.423e-05/0.2863, allocations: 99.31 kB / 437.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008337/0.2871, allocations: 420.4 kB / 438.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2871, allocations: 0 / 438.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2871, allocations: 7.562 kB / 438.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2871, allocations: 0 / 438.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.2876, allocations: 0.6801 MB / 438.9 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2877, allocations: 3.938 kB / 438.9 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.2879, allocations: 53.56 kB / 439 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-05/0.288, allocations: 25.81 kB / 439 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.288, allocations: 0 / 439 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005673/0.2886, allocations: 1.366 MB / 440.4 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2886, allocations: 0 / 440.4 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.2897, allocations: 0.5533 MB / 440.9 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.2899, allocations: 215.4 kB / 441.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.29, allocations: 7.469 kB / 441.2 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.2903, allocations: 34.17 kB / 441.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.2904, allocations: 23.55 kB / 441.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.2904, allocations: 6.625 kB / 441.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.2915, allocations: 1.192 MB / 442.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2915, allocations: 0 / 442.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006286/0.2921, allocations: 252.6 kB / 442.7 MB, free: 32.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.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 (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003464/0.2956, allocations: 1.611 MB / 444.3 MB, free: 31.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.297, allocations: 0.8239 MB / 445.1 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.297, allocations: 0 / 445.1 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.2975, allocations: 258.3 kB / 445.3 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.2981, allocations: 113.8 kB / 445.5 MB, free: 31.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.3115, allocations: 10.52 MB / 456 MB, free: 25.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.312, allocations: 1.082 MB / 457.1 MB, free: 25.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000366/0.3124, allocations: 155.8 kB / 457.2 MB, free: 25.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.3127, allocations: 340.6 kB / 457.6 MB, free: 24.95 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3127, allocations: 0 / 457.6 MB, free: 24.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/0.3589, allocations: 18.54 MB / 476.1 MB, free: 22.2 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.3591, allocations: 265 kB / 476.4 MB, free: 21.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/2.707, allocations: 0.9375 kB / 476.4 MB, free: 21.84 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT01_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT01.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1)