Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007998/0.0007998, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000835/0.000835, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8182/0.8182, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1766/0.1766, allocations: 36.35 MB / 274.3 MB, free: 10.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoeffValve,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoeffValve,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 414.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.936e-05, allocations: 6.219 kB / 414.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2039/0.204, allocations: 70.51 MB / 484.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008432/0.2124, allocations: 9.896 MB / 494.7 MB, free: 13.09 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.2127, allocations: 31.69 kB / 494.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007408/0.2135, allocations: 393 kB / 495.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007106/0.2142, allocations: 0.5313 MB / 495.7 MB, free: 12.13 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009045/0.2232, allocations: 5.907 MB / 0.4898 GB, free: 6.207 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2242, allocations: 1.442 MB / 0.4912 GB, free: 4.758 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.2246, allocations: 337.9 kB / 0.4916 GB, free: 4.414 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.2251, allocations: 0.6701 MB / 0.4922 GB, free: 3.742 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.2254, allocations: 410.6 kB / 0.4926 GB, free: 3.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.2255, allocations: 44 kB / 0.4927 GB, free: 3.297 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006183/0.2317, allocations: 6.075 MB / 0.4986 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.2317, allocations: 131.3 kB / 0.4987 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.2319, allocations: 267.4 kB / 0.499 GB, free: 12.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003812/0.2357, allocations: 5.086 MB / 0.5039 GB, free: 7.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2357, allocations: 0 / 0.5039 GB, free: 7.727 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.018e-06/0.2357, allocations: 0 / 0.5039 GB, free: 7.727 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.2357, allocations: 4 kB / 0.5039 GB, free: 7.723 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001759/0.2375, allocations: 1.44 MB / 0.5053 GB, free: 6.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2375, allocations: 12.03 kB / 0.5054 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.828e-05/0.2376, allocations: 90.7 kB / 0.5054 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.2378, allocations: 124.3 kB / 0.5056 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.2384, allocations: 465.2 kB / 0.506 GB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.2384, allocations: 37.38 kB / 0.506 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.2384, allocations: 51.09 kB / 0.5061 GB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.2391, allocations: 0.6211 MB / 0.5067 GB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2391, allocations: 0 / 0.5067 GB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.2391, allocations: 27.94 kB / 0.5067 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2391, allocations: 15.94 kB / 0.5067 GB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.2396, allocations: 363.2 kB / 0.5071 GB, free: 4.367 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.2413, allocations: 2.759 MB / 0.5098 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.2416, allocations: 174.4 kB / 0.51 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.025e-05/0.2416, allocations: 59.52 kB / 0.51 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02745/0.2691, allocations: 16.8 MB / 0.5264 GB, free: 400 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.2691, allocations: 42.44 kB / 0.5265 GB, free: 348 kB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.2691, allocations: 0 / 0.5265 GB, free: 348 kB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007368/0.2698, allocations: 369.6 kB / 0.5268 GB, free: 15.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.2699, allocations: 132.5 kB / 0.5269 GB, free: 15.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/0.2705, allocations: 0.7279 MB / 0.5276 GB, free: 15.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2705, allocations: 33.7 kB / 0.5277 GB, free: 15.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.2707, allocations: 352.1 kB / 0.528 GB, free: 14.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.2707, allocations: 43.66 kB / 0.5281 GB, free: 14.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.2708, allocations: 49.69 kB / 0.5281 GB, free: 14.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.2709, allocations: 314 kB / 0.5284 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.271, allocations: 56.84 kB / 0.5285 GB, free: 14.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2711, allocations: 141.9 kB / 0.5286 GB, free: 14.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.2713, allocations: 190.1 kB / 0.5288 GB, free: 13.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2713, allocations: 0 / 0.5288 GB, free: 13.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003316/0.2716, allocations: 292.8 kB / 0.5291 GB, free: 13.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2716, allocations: 10.5 kB / 0.5291 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2716, allocations: 0 / 0.5291 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2716, allocations: 7.938 kB / 0.5291 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2718, allocations: 64.14 kB / 0.5291 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2718, allocations: 11.88 kB / 0.5291 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.2721, allocations: 55.52 kB / 0.5292 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2721, allocations: 11.98 kB / 0.5292 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001554/0.2722, allocations: 160.1 kB / 0.5294 GB, free: 13.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000119/0.2723, allocations: 179.7 kB / 0.5295 GB, free: 12.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001826/0.2725, allocations: 243.4 kB / 0.5298 GB, free: 12.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.2725, allocations: 0 / 0.5298 GB, free: 12.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002931/0.2728, allocations: 296.7 kB / 0.53 GB, free: 12.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.2728, allocations: 11.94 kB / 0.5301 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2728, allocations: 4 kB / 0.5301 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.84e-06/0.2728, allocations: 8 kB / 0.5301 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2729, allocations: 56.56 kB / 0.5301 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.273, allocations: 11.92 kB / 0.5301 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.2731, allocations: 23.89 kB / 0.5302 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2731, allocations: 12 kB / 0.5302 GB, free: 12.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.2732, allocations: 192.2 kB / 0.5304 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.2733, allocations: 87.42 kB / 0.5304 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.2737, allocations: 0.5447 MB / 0.531 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2737, allocations: 4 kB / 0.531 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2737, allocations: 0 / 0.531 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2737, allocations: 3.984 kB / 0.531 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.2742, allocations: 0.5029 MB / 0.5315 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2742, allocations: 7.938 kB / 0.5315 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.2743, allocations: 32.73 kB / 0.5315 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2743, allocations: 7.938 kB / 0.5315 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2743, allocations: 0 / 0.5315 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2743, allocations: 3.984 kB / 0.5315 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2743, allocations: 4 kB / 0.5315 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.2745, allocations: 0.5023 MB / 0.532 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.2746, allocations: 83.34 kB / 0.5321 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.2747, allocations: 28.61 kB / 0.5321 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.2749, allocations: 7.984 kB / 0.5321 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.2749, allocations: 11.98 kB / 0.5321 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2749, allocations: 4 kB / 0.5321 GB, free: 10.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005879/0.2755, allocations: 0.7306 MB / 0.5329 GB, free: 9.402 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2755, allocations: 0 / 0.5329 GB, free: 9.402 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0019/0.2774, allocations: 1.053 MB / 0.5339 GB, free: 8.348 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002564/0.2799, allocations: 2.062 MB / 0.5359 GB, free: 6.262 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.2802, allocations: 201.3 kB / 0.5361 GB, free: 6.062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2802, allocations: 4.125 kB / 0.5361 GB, free: 6.059 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.2803, allocations: 27.92 kB / 0.5361 GB, free: 6.031 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.2816, allocations: 463.5 kB / 0.5366 GB, free: 5.582 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.2867, allocations: 6.072 MB / 0.5425 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.2869, allocations: 340.5 kB / 0.5428 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.2872, allocations: 289.2 kB / 0.5431 GB, free: 14.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.2874, allocations: 300.4 kB / 0.5434 GB, free: 14.36 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2874, allocations: 0 / 0.5434 GB, free: 14.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/0.3461, allocations: 50.99 MB / 0.5932 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.837, allocations: 15.88 kB / 0.5932 GB, free: 11.21 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.703248248435557] Failed to read output from testmodel.py, exit status != 0: 8.951025702059269 8.959925046 8.722486909 Calling exit ...