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.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001249/0.001249, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.149/0.149, allocations: 8.039 MB / 298 MB, free: 2.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 360.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1008, allocations: 51.19 MB / 411.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004579/0.1054, allocations: 3.216 MB / 414.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1067, allocations: 0.7912 MB / 415.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1069, allocations: 7.938 kB / 415.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.1074, allocations: 275.3 kB / 415.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.1078, allocations: 187.3 kB / 415.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.1083, allocations: 267 kB / 416 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.1088, allocations: 467.1 kB / 416.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.1091, allocations: 182.6 kB / 416.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.1093, allocations: 187.3 kB / 416.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.1095, allocations: 275 kB / 417.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.1096, allocations: 24 kB / 417.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1097, allocations: 55.92 kB / 417.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1099, allocations: 167.4 kB / 417.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.1101, allocations: 274.2 kB / 417.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.1107, allocations: 0.6695 MB / 418.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1108, allocations: 0 / 418.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1108, allocations: 0 / 418.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1108, allocations: 3.938 kB / 418.2 MB, free: 4.488 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.001449/0.1122, allocations: 1.017 MB / 419.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1123, allocations: 12.03 kB / 419.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/0.1124, allocations: 66.72 kB / 419.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1125, allocations: 76 kB / 419.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.1131, allocations: 0.5466 MB / 420 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.1131, allocations: 20.66 kB / 420 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.1132, allocations: 43.92 kB / 420 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.1139, allocations: 373.3 kB / 420.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1139, allocations: 7.938 kB / 420.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.114, allocations: 12 kB / 420.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.114, allocations: 8 kB / 420.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.1147, allocations: 262.4 kB / 420.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.1168, allocations: 1.678 MB / 422.3 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1658/0.2826, allocations: 276.3 kB / 422.6 MB, free: 44.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.2829, allocations: 112 kB / 422.7 MB, free: 44.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.2829, allocations: 2.875 kB / 422.7 MB, free: 44.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005368/0.2835, allocations: 165.5 kB / 422.9 MB, free: 44.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/0.2835, allocations: 0 / 422.9 MB, free: 44.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001745/0.2852, allocations: 0.6429 MB / 423.5 MB, free: 44.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2853, allocations: 90.11 kB / 423.6 MB, free: 44.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008373/0.2861, allocations: 0.9719 MB / 424.6 MB, free: 44.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.2862, allocations: 27.39 kB / 424.6 MB, free: 44.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.2864, allocations: 347.3 kB / 425 MB, free: 43.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.2864, allocations: 72.72 kB / 425 MB, free: 43.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.2865, allocations: 53.34 kB / 425.1 MB, free: 43.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.2866, allocations: 383.3 kB / 425.5 MB, free: 43.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.2869, allocations: 119 kB / 425.6 MB, free: 43.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.2872, allocations: 187.3 kB / 425.8 MB, free: 43.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.2877, allocations: 317.8 kB / 426.1 MB, free: 43.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2877, allocations: 3.281 kB / 426.1 MB, free: 43.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009843/0.2887, allocations: 0.5038 MB / 426.6 MB, free: 43.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.2887, allocations: 36.05 kB / 426.6 MB, free: 43.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.2888, allocations: 6.156 kB / 426.6 MB, free: 43.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.289, allocations: 62.98 kB / 426.7 MB, free: 43.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.2892, allocations: 49.89 kB / 426.7 MB, free: 43.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.2908, allocations: 1.773 MB / 428.5 MB, free: 41.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.2911, allocations: 54.3 kB / 428.6 MB, free: 41.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.2911, allocations: 14.16 kB / 428.6 MB, free: 41.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003826/0.2915, allocations: 316.3 kB / 428.9 MB, free: 41.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002517/0.2917, allocations: 188.4 kB / 429.1 MB, free: 41.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004537/0.2922, allocations: 303.5 kB / 429.4 MB, free: 41.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.2922, allocations: 5.531 kB / 429.4 MB, free: 41.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007124/0.2929, allocations: 428.9 kB / 429.8 MB, free: 41.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.293, allocations: 35.45 kB / 429.8 MB, free: 41.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.293, allocations: 3.188 kB / 429.8 MB, free: 41.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/0.2931, allocations: 48.78 kB / 429.9 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2933, allocations: 48.83 kB / 429.9 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008186/0.2941, allocations: 1.586 MB / 431.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.2944, allocations: 45.39 kB / 431.5 MB, free: 39.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.2944, allocations: 10.38 kB / 431.6 MB, free: 39.57 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 8.467e-05/0.2945, allocations: 207.2 kB / 431.8 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.2946, allocations: 62.84 kB / 431.8 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008187/0.2954, allocations: 391.9 kB / 432.2 MB, free: 39.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2954, allocations: 7.125 kB / 432.2 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.2954, allocations: 0 / 432.2 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2954, allocations: 7.297 kB / 432.2 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.2958, allocations: 480.8 kB / 432.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2958, allocations: 0 / 432.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.296, allocations: 42.8 kB / 432.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.2962, allocations: 70.16 kB / 432.8 MB, free: 38.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2962, allocations: 10.8 kB / 432.8 MB, free: 38.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.2978, allocations: 1.762 MB / 434.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2979, allocations: 0 / 434.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.2989, allocations: 0.514 MB / 435.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.2991, allocations: 160.5 kB / 435.2 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.2991, allocations: 4.062 kB / 435.2 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.2993, allocations: 27.48 kB / 435.3 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.2994, allocations: 20.45 kB / 435.3 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2995, allocations: 13.72 kB / 435.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006413/0.3001, allocations: 0.7062 MB / 436 MB, free: 36.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3001, allocations: 3.75 kB / 436 MB, free: 36.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007027/0.3008, allocations: 193.1 kB / 436.2 MB, free: 36.69 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.001976/0.3028, allocations: 1.303 MB / 437.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3042, allocations: 0.8089 MB / 438.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3042, allocations: 7.438 kB / 438.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.3047, allocations: 283 kB / 438.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.3052, allocations: 85.83 kB / 438.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.3126, allocations: 6.48 MB / 445.2 MB, free: 32.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.313, allocations: 0.9216 MB / 446.1 MB, free: 31.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.3132, allocations: 71.16 kB / 446.2 MB, free: 31.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.3134, allocations: 214.1 kB / 446.4 MB, free: 31.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3134, allocations: 0 / 446.4 MB, free: 31.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.3356, allocations: 12.46 MB / 458.8 MB, free: 29.88 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.3359, allocations: 269.2 kB / 459.1 MB, free: 29.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.249, allocations: 0 / 459.1 MB, free: 29.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)