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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_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.0007949/0.000795, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005252/0.005253, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1475/0.1475, allocations: 8.033 MB / 299.5 MB, free: 3.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 8 kB / 362.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08437, allocations: 52.18 MB / 414.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003292/0.0877, allocations: 2.842 MB / 417.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.08895, allocations: 0.7641 MB / 418.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.08908, allocations: 11.94 kB / 418.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.08949, allocations: 279.2 kB / 418.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.08983, allocations: 187.3 kB / 418.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.09034, allocations: 267.3 kB / 419 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.09077, allocations: 467.1 kB / 419.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.09107, allocations: 174.6 kB / 419.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.09127, allocations: 175.3 kB / 419.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.09153, allocations: 255 kB / 420.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.09157, allocations: 16 kB / 420.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/0.09167, allocations: 39.98 kB / 420.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.09184, allocations: 155.4 kB / 420.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.09207, allocations: 287.9 kB / 420.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.09261, allocations: 0.6537 MB / 421.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.09263, allocations: 3.938 kB / 421.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09263, allocations: 0 / 421.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.09265, allocations: 0 / 421.2 MB, free: 3.027 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.001303/0.09396, allocations: 0.9319 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.094, allocations: 8.031 kB / 422.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.553e-05/0.09409, allocations: 62.72 kB / 422.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.313e-05/0.09419, allocations: 76 kB / 422.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.09476, allocations: 0.5428 MB / 422.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.0948, allocations: 20.66 kB / 422.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/0.09487, allocations: 39.98 kB / 422.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.0956, allocations: 397.2 kB / 423.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.09563, allocations: 0 / 423.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.09566, allocations: 12 kB / 423.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.09568, allocations: 8 kB / 423.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000734/0.09642, allocations: 294.4 kB / 423.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1553/0.2517, allocations: 1.701 MB / 425.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/0.2526, allocations: 317.3 kB / 425.6 MB, free: 40.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.2529, allocations: 124.3 kB / 425.7 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.253, allocations: 3.703 kB / 425.7 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004564/0.2534, allocations: 185.1 kB / 425.9 MB, free: 40.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.2534, allocations: 0 / 425.9 MB, free: 40.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001826/0.2553, allocations: 0.742 MB / 426.6 MB, free: 40.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2553, allocations: 83.45 kB / 426.7 MB, free: 40.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.2561, allocations: 0.9787 MB / 427.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2561, allocations: 29.02 kB / 427.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.2563, allocations: 349 kB / 428.1 MB, free: 40.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.2564, allocations: 65.52 kB / 428.1 MB, free: 40.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2564, allocations: 28.64 kB / 428.2 MB, free: 40.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.2565, allocations: 383.2 kB / 428.5 MB, free: 39.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.2569, allocations: 127.5 kB / 428.7 MB, free: 39.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.2572, allocations: 207.3 kB / 428.9 MB, free: 39.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.2578, allocations: 354.3 kB / 429.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2579, allocations: 3.344 kB / 429.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001116/0.259, allocations: 0.5578 MB / 429.8 MB, free: 39.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/0.259, allocations: 190 kB / 430 MB, free: 39.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2591, allocations: 2.844 kB / 430 MB, free: 39.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.2593, allocations: 63.72 kB / 430 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2595, allocations: 62.03 kB / 430.1 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.2613, allocations: 1.851 MB / 431.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.2616, allocations: 52.8 kB / 432 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.2616, allocations: 13.19 kB / 432 MB, free: 38.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-06/0.2616, allocations: 7.406 kB / 432 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007297/0.2623, allocations: 379.2 kB / 432.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2624, allocations: 3.094 kB / 432.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.2625, allocations: 54.59 kB / 432.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.2627, allocations: 56.66 kB / 432.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009151/0.2636, allocations: 1.595 MB / 434.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.2639, allocations: 41.31 kB / 434.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.2639, allocations: 14.62 kB / 434.1 MB, free: 36.58 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.000227/0.2641, allocations: 343.3 kB / 434.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.2642, allocations: 59.91 kB / 434.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009364/0.2651, allocations: 444.6 kB / 435 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2651, allocations: 7.672 kB / 435 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.2652, allocations: 0 / 435 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2652, allocations: 3.375 kB / 435 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.2656, allocations: 491.5 kB / 435.5 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2656, allocations: 0 / 435.5 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.2658, allocations: 40.78 kB / 435.5 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/0.266, allocations: 87.83 kB / 435.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2661, allocations: 9.828 kB / 435.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.2677, allocations: 1.833 MB / 437.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2677, allocations: 0 / 437.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.2689, allocations: 0.5939 MB / 438 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.269, allocations: 151.6 kB / 438.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.269, allocations: 9.406 kB / 438.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.2693, allocations: 30.14 kB / 438.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2694, allocations: 27.73 kB / 438.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2694, allocations: 10.03 kB / 438.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006125/0.27, allocations: 0.712 MB / 439 MB, free: 34.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.27, allocations: 0 / 439 MB, free: 34.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.2707, allocations: 194.8 kB / 439.1 MB, free: 34.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.002051/0.2727, allocations: 1.371 MB / 440.5 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.2742, allocations: 0.8681 MB / 441.4 MB, free: 32.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2742, allocations: 4.188 kB / 441.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.2748, allocations: 321.2 kB / 441.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.2753, allocations: 81.52 kB / 441.8 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007748/0.283, allocations: 6.686 MB / 448.5 MB, free: 29.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2833, allocations: 0.9263 MB / 449.4 MB, free: 28.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.2835, allocations: 60.2 kB / 449.5 MB, free: 28.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.2837, allocations: 217.8 kB / 449.7 MB, free: 28.58 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.2837, allocations: 0 / 449.7 MB, free: 28.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.3061, allocations: 12.11 MB / 461.8 MB, free: 27.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.3063, allocations: 259 kB / 462 MB, free: 27.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.299, allocations: 0 / 462 MB, free: 27.39 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestIceConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)