Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConn",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.001096/0.001096, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 195 kB / 16.53 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1423/0.1423, allocations: 8.027 MB / 298.4 MB, free: 2.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.89 kB / 360.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09361, allocations: 51.18 MB / 411.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.005199/0.09885, allocations: 3.185 MB / 415.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1004, allocations: 0.7912 MB / 415.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.1007, allocations: 12 kB / 415.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.1012, allocations: 286.9 kB / 416.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.1018, allocations: 211 kB / 416.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.1025, allocations: 295 kB / 416.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.1031, allocations: 499.1 kB / 417.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003598/0.1034, allocations: 207 kB / 417.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.1037, allocations: 207.3 kB / 417.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.1041, allocations: 279.1 kB / 417.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.1042, allocations: 40 kB / 417.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1043, allocations: 71.94 kB / 418 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.1045, allocations: 191.4 kB / 418.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.1048, allocations: 290.2 kB / 418.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.1055, allocations: 0.7007 MB / 419.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1055, allocations: 0 / 419.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1055, allocations: 3.938 kB / 419.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.1055, allocations: 8 kB / 419.1 MB, free: 3.73 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001661/0.1072, allocations: 1.018 MB / 420.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1072, allocations: 8.031 kB / 420.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.289e-05/0.1073, allocations: 66.73 kB / 420.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1075, allocations: 79.98 kB / 420.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000638/0.1081, allocations: 0.5389 MB / 420.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1081, allocations: 24.66 kB / 420.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.1082, allocations: 32 kB / 420.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.1089, allocations: 385.2 kB / 421.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.109, allocations: 0 / 421.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.109, allocations: 12 kB / 421.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.109, allocations: 12 kB / 421.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.1098, allocations: 258.3 kB / 421.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1402/0.25, allocations: 1.675 MB / 423.2 MB, free: 43.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.2509, allocations: 287 kB / 423.5 MB, free: 43.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.2512, allocations: 106 kB / 423.6 MB, free: 43.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.2512, allocations: 3.5 kB / 423.6 MB, free: 43.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004467/0.2517, allocations: 172.9 kB / 423.8 MB, free: 43.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.2517, allocations: 0 / 423.8 MB, free: 43.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001812/0.2535, allocations: 0.6423 MB / 424.4 MB, free: 43.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2536, allocations: 83.67 kB / 424.5 MB, free: 43.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/0.2544, allocations: 0.9758 MB / 425.5 MB, free: 43.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2544, allocations: 30.64 kB / 425.5 MB, free: 43.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.2546, allocations: 342.1 kB / 425.8 MB, free: 43.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.2547, allocations: 73.38 kB / 425.9 MB, free: 43.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.2547, allocations: 59.8 kB / 426 MB, free: 43.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.2548, allocations: 378.3 kB / 426.3 MB, free: 42.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.2551, allocations: 110.2 kB / 426.5 MB, free: 42.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.2555, allocations: 194.5 kB / 426.6 MB, free: 42.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.2561, allocations: 318.2 kB / 427 MB, free: 42.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2561, allocations: 3.703 kB / 427 MB, free: 42.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001099/0.2572, allocations: 0.4975 MB / 427.5 MB, free: 42.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.2572, allocations: 37.33 kB / 427.5 MB, free: 42.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2573, allocations: 2.344 kB / 427.5 MB, free: 42.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.2575, allocations: 63.98 kB / 427.6 MB, free: 42.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2577, allocations: 59.09 kB / 427.6 MB, free: 42.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.2596, allocations: 1.969 MB / 429.6 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.2599, allocations: 51.81 kB / 429.6 MB, free: 40.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.2599, allocations: 17.08 kB / 429.7 MB, free: 40.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004433/0.2604, allocations: 313.3 kB / 430 MB, free: 40.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002869/0.2607, allocations: 185.3 kB / 430.1 MB, free: 40.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005222/0.2612, allocations: 304.7 kB / 430.4 MB, free: 40.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.2612, allocations: 0 / 430.4 MB, free: 40.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008096/0.262, allocations: 433.2 kB / 430.9 MB, free: 40.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2621, allocations: 36.08 kB / 430.9 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2621, allocations: 3.828 kB / 430.9 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.2622, allocations: 50.17 kB / 430.9 MB, free: 40.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.2624, allocations: 54.81 kB / 431 MB, free: 40.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000966/0.2634, allocations: 1.764 MB / 432.8 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.2637, allocations: 44.42 kB / 432.8 MB, free: 38.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2637, allocations: 11.31 kB / 432.8 MB, free: 38.34 MB / 350.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.0001018/0.2638, allocations: 202.8 kB / 433 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.2639, allocations: 56.75 kB / 433.1 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/0.2649, allocations: 400.5 kB / 433.5 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2649, allocations: 0 / 433.5 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.2649, allocations: 4 kB / 433.5 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2649, allocations: 6.547 kB / 433.5 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.2653, allocations: 484.8 kB / 433.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2653, allocations: 0 / 433.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.2655, allocations: 42.73 kB / 434 MB, free: 37.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.2657, allocations: 69.44 kB / 434.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2658, allocations: 11.34 kB / 434.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.2674, allocations: 1.954 MB / 436 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2674, allocations: 0 / 436 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.2686, allocations: 0.5119 MB / 436.5 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.2687, allocations: 159.5 kB / 436.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.2687, allocations: 0 / 436.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.269, allocations: 29.8 kB / 436.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.2691, allocations: 26.11 kB / 436.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2691, allocations: 7 kB / 436.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005688/0.2697, allocations: 0.7158 MB / 437.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.176e-06/0.2697, allocations: 0 / 437.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006615/0.2704, allocations: 200 kB / 437.7 MB, free: 35.27 MB / 350.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.002055/0.2724, allocations: 1.304 MB / 439 MB, free: 34.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.2739, allocations: 0.8009 MB / 439.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.274, allocations: 11.47 kB / 439.8 MB, free: 34.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.2745, allocations: 291.7 kB / 440.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.275, allocations: 95.83 kB / 440.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00701/0.282, allocations: 6.322 MB / 446.5 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.2823, allocations: 0.9256 MB / 447.4 MB, free: 30.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.2825, allocations: 65.19 kB / 447.5 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.2827, allocations: 215.2 kB / 447.7 MB, free: 29.89 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2827, allocations: 0 / 447.7 MB, free: 29.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.3149, allocations: 13 MB / 460.7 MB, free: 28.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.58, allocations: 6.266 kB / 460.7 MB, free: 28.53 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)