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.00119/0.00119, 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.001207/0.001207, allocations: 194.8 kB / 16.14 MB, free: 6.656 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1409/0.1409, allocations: 8.014 MB / 298 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 64.08 kB / 360.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08548, allocations: 51.19 MB / 411.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004039/0.08955, allocations: 3.216 MB / 414.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.09074, allocations: 0.7912 MB / 415.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.09088, allocations: 11.94 kB / 415.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.0913, allocations: 271.3 kB / 415.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.0916, allocations: 187.3 kB / 415.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.09208, allocations: 267 kB / 416 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.09246, allocations: 463.1 kB / 416.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.09274, allocations: 186.6 kB / 416.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.09292, allocations: 183.3 kB / 416.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.09319, allocations: 279 kB / 417.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.09324, allocations: 20 kB / 417.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.09335, allocations: 55.98 kB / 417.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.09352, allocations: 171.4 kB / 417.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.09374, allocations: 274.2 kB / 417.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.09426, allocations: 0.6695 MB / 418.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.09427, allocations: 0 / 418.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.09428, allocations: 3.938 kB / 418.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.09429, allocations: 0 / 418.2 MB, free: 4.445 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.00145/0.09574, allocations: 1.021 MB / 419.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.09579, allocations: 11.97 kB / 419.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.09586, allocations: 66.72 kB / 419.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.09598, allocations: 76 kB / 419.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.09659, allocations: 0.5466 MB / 420 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.09662, allocations: 20.66 kB / 420 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.09668, allocations: 36 kB / 420 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.09736, allocations: 377.2 kB / 420.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.09738, allocations: 8 kB / 420.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.09742, allocations: 8 kB / 420.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.09743, allocations: 8 kB / 420.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.09811, allocations: 266.4 kB / 420.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.1001, allocations: 1.678 MB / 422.3 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1409/0.241, allocations: 278.5 kB / 422.6 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.2413, allocations: 112.2 kB / 422.7 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.2413, allocations: 3.688 kB / 422.7 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004523/0.2418, allocations: 166.2 kB / 422.9 MB, free: 44.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.053e-06/0.2418, allocations: 0 / 422.9 MB, free: 44.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001699/0.2435, allocations: 0.6458 MB / 423.5 MB, free: 44.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2436, allocations: 81.75 kB / 423.6 MB, free: 44.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008713/0.2444, allocations: 0.9728 MB / 424.6 MB, free: 44.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.2445, allocations: 28.52 kB / 424.6 MB, free: 44.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.2447, allocations: 349.6 kB / 425 MB, free: 43.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.2447, allocations: 72.55 kB / 425 MB, free: 43.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.2448, allocations: 54.25 kB / 425.1 MB, free: 43.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.2449, allocations: 377 kB / 425.5 MB, free: 43.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.2452, allocations: 117.6 kB / 425.6 MB, free: 43.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.2455, allocations: 194.2 kB / 425.8 MB, free: 43.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.2461, allocations: 314 kB / 426.1 MB, free: 43.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2461, allocations: 3.344 kB / 426.1 MB, free: 43.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001021/0.2471, allocations: 0.504 MB / 426.6 MB, free: 43.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.2472, allocations: 38.88 kB / 426.6 MB, free: 43.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2472, allocations: 5.125 kB / 426.6 MB, free: 43.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.2474, allocations: 61.45 kB / 426.7 MB, free: 43.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.2476, allocations: 56.25 kB / 426.7 MB, free: 43.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.2492, allocations: 1.774 MB / 428.5 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.2495, allocations: 49.17 kB / 428.6 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.2495, allocations: 9.5 kB / 428.6 MB, free: 41.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003872/0.2499, allocations: 317.7 kB / 428.9 MB, free: 41.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002561/0.2502, allocations: 185.8 kB / 429.1 MB, free: 41.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004672/0.2507, allocations: 308.5 kB / 429.4 MB, free: 41.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.2507, allocations: 0 / 429.4 MB, free: 41.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007411/0.2514, allocations: 429.1 kB / 429.8 MB, free: 41.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2515, allocations: 39.59 kB / 429.8 MB, free: 41.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2515, allocations: 3.281 kB / 429.8 MB, free: 41.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/0.2516, allocations: 52.73 kB / 429.9 MB, free: 41.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.2518, allocations: 49.06 kB / 429.9 MB, free: 41.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008175/0.2526, allocations: 1.582 MB / 431.5 MB, free: 39.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.2529, allocations: 42.2 kB / 431.5 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2529, allocations: 12.83 kB / 431.6 MB, free: 39.52 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.285e-05/0.253, allocations: 204.1 kB / 431.8 MB, free: 39.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.253, allocations: 60.47 kB / 431.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008211/0.2539, allocations: 392.2 kB / 432.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2539, allocations: 7.938 kB / 432.2 MB, free: 39.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2539, allocations: 0 / 432.2 MB, free: 39.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2539, allocations: 6.797 kB / 432.2 MB, free: 39.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.2543, allocations: 487.4 kB / 432.7 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2543, allocations: 2 kB / 432.7 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2545, allocations: 39.64 kB / 432.7 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.2547, allocations: 69.17 kB / 432.8 MB, free: 38.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2547, allocations: 5.125 kB / 432.8 MB, free: 38.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.2561, allocations: 1.766 MB / 434.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2561, allocations: 0 / 434.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2572, allocations: 0.5134 MB / 435.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.89e-05/0.2573, allocations: 160.2 kB / 435.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.2573, allocations: 7.188 kB / 435.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.2576, allocations: 30.69 kB / 435.3 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.2576, allocations: 19.77 kB / 435.3 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2577, allocations: 9.781 kB / 435.3 MB, free: 36.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005331/0.2582, allocations: 0.7095 MB / 436 MB, free: 36.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.51e-07/0.2582, allocations: 0 / 436 MB, free: 36.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006315/0.2588, allocations: 194.3 kB / 436.2 MB, free: 36.64 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.001814/0.2607, allocations: 1.307 MB / 437.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.262, allocations: 0.8039 MB / 438.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.262, allocations: 0 / 438.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.2625, allocations: 290.8 kB / 438.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.2629, allocations: 77.95 kB / 438.7 MB, free: 35.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007028/0.27, allocations: 6.499 MB / 445.2 MB, free: 31.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.2703, allocations: 0.9209 MB / 446.1 MB, free: 31.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.2705, allocations: 71.64 kB / 446.2 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.2707, allocations: 210.8 kB / 446.4 MB, free: 31.06 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2707, allocations: 0 / 446.4 MB, free: 31.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.2928, allocations: 12.45 MB / 458.8 MB, free: 29.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.293, allocations: 252.9 kB / 459.1 MB, free: 29.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.1, allocations: 0 / 459.1 MB, free: 29.58 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)