Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.0008971/0.0008971, 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.0008631/0.0008631, 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.8996/0.8996, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1798/0.1798, allocations: 36.34 MB / 274.3 MB, free: 10.92 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.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 414.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.384e-05, allocations: 2.281 kB / 414.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.1858/0.1858, allocations: 40.35 MB / 454.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007086/0.1929, allocations: 8.22 MB / 462.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003492/0.1933, allocations: 17.5 kB / 462.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.1938, allocations: 211.4 kB / 463.1 MB, free: 5.805 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004705/0.1942, allocations: 287.9 kB / 463.4 MB, free: 5.613 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.2044, allocations: 5.057 MB / 468.5 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009143/0.2053, allocations: 0.8316 MB / 469.3 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.2056, allocations: 213.6 kB / 469.5 MB, free: 2.008 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006618/0.2063, allocations: 0.494 MB / 470 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.2066, allocations: 253.1 kB / 470.2 MB, free: 1.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.2066, allocations: 29.72 kB / 470.3 MB, free: 1.582 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007894/0.2145, allocations: 5.89 MB / 476.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.2146, allocations: 93.69 kB / 476.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.2149, allocations: 163.5 kB / 476.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007449/0.2224, allocations: 4.671 MB / 481.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2224, allocations: 0 / 481.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2224, allocations: 0 / 481.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.2224, allocations: 0 / 481.1 MB, free: 10.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002325/0.2247, allocations: 1.126 MB / 482.2 MB, free: 9.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2247, allocations: 12.03 kB / 482.2 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.2248, allocations: 66.72 kB / 482.3 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.225, allocations: 72.59 kB / 482.4 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.2254, allocations: 310.4 kB / 482.7 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2254, allocations: 29.03 kB / 482.7 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.2254, allocations: 35.09 kB / 482.7 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.226, allocations: 427.2 kB / 483.1 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2261, allocations: 11.88 kB / 483.2 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2261, allocations: 15.94 kB / 483.2 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2261, allocations: 8 kB / 483.2 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.2267, allocations: 359.6 kB / 483.5 MB, free: 8.262 MB / 378.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.001511/0.2282, allocations: 1.596 MB / 485.1 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.229, allocations: 296.8 kB / 485.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.2291, allocations: 97.66 kB / 485.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02932/0.2585, allocations: 16.87 MB / 0.4906 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2585, allocations: 38.56 kB / 0.4906 GB, free: 5.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.424e-06/0.2585, allocations: 3.938 kB / 0.4906 GB, free: 5.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001032/0.2595, allocations: 421 kB / 0.4911 GB, free: 4.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.2596, allocations: 81.11 kB / 0.4911 GB, free: 4.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.2599, allocations: 434.1 kB / 0.4915 GB, free: 4.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2599, allocations: 33.7 kB / 0.4916 GB, free: 4.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.2601, allocations: 228.4 kB / 0.4918 GB, free: 4.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.2601, allocations: 59.86 kB / 0.4918 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.2601, allocations: 53.69 kB / 0.4919 GB, free: 3.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.2602, allocations: 358.7 kB / 0.4922 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.2604, allocations: 104.7 kB / 0.4923 GB, free: 3.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.2607, allocations: 163.5 kB / 0.4925 GB, free: 3.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.2611, allocations: 255.5 kB / 0.4927 GB, free: 2.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2611, allocations: 0 / 0.4927 GB, free: 2.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004691/0.2615, allocations: 337.1 kB / 0.4931 GB, free: 2.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2616, allocations: 8 kB / 0.4931 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2616, allocations: 0 / 0.4931 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2616, allocations: 4 kB / 0.4931 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.2617, allocations: 67.88 kB / 0.4931 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2618, allocations: 4 kB / 0.4931 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.2619, allocations: 48.02 kB / 0.4932 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2619, allocations: 11.98 kB / 0.4932 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002287/0.2622, allocations: 200 kB / 0.4934 GB, free: 2.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000182/0.2624, allocations: 165.3 kB / 0.4935 GB, free: 2.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003331/0.2627, allocations: 261.1 kB / 0.4938 GB, free: 1.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.2627, allocations: 0 / 0.4938 GB, free: 1.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004295/0.2631, allocations: 325.6 kB / 0.4941 GB, free: 1.496 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.2631, allocations: 4 kB / 0.4941 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.2631, allocations: 4 kB / 0.4941 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.2631, allocations: 4 kB / 0.4941 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2633, allocations: 63.89 kB / 0.4942 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.2633, allocations: 4 kB / 0.4942 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.2634, allocations: 39.89 kB / 0.4942 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2634, allocations: 8 kB / 0.4942 GB, free: 1.371 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.718e-05/0.2635, allocations: 204.1 kB / 0.4944 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.2636, allocations: 43.72 kB / 0.4945 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.2641, allocations: 468.6 kB / 0.4949 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2641, allocations: 0 / 0.4949 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2641, allocations: 4.188 kB / 0.4949 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2641, allocations: 3.984 kB / 0.4949 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.2645, allocations: 384.1 kB / 0.4953 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2645, allocations: 0 / 0.4953 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.2646, allocations: 51.95 kB / 0.4953 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2646, allocations: 0.875 kB / 0.4953 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.2646, allocations: 11.98 kB / 0.4953 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2646, allocations: 0 / 0.4953 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2646, allocations: 0 / 0.4953 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.2651, allocations: 462.1 kB / 0.4958 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.2653, allocations: 47.64 kB / 0.4958 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.2654, allocations: 19.84 kB / 0.4959 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2655, allocations: 20.84 kB / 0.4959 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.2656, allocations: 15.97 kB / 0.4959 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2656, allocations: 4 kB / 0.4959 GB, free: 15.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002884/0.2659, allocations: 414.8 kB / 0.4963 GB, free: 15.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2659, allocations: 0 / 0.4963 GB, free: 15.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002041/0.2679, allocations: 0.9436 MB / 0.4972 GB, free: 14.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.002872/0.2708, allocations: 1.962 MB / 0.4991 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.2714, allocations: 352.3 kB / 0.4995 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2714, allocations: 0 / 0.4995 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.2716, allocations: 108.5 kB / 0.4996 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.2723, allocations: 238.3 kB / 0.4998 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.2765, allocations: 4.283 MB / 0.504 GB, free: 7.152 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2766, allocations: 225.8 kB / 0.5042 GB, free: 6.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002735/0.2769, allocations: 167 kB / 0.5044 GB, free: 6.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.2771, allocations: 172.4 kB / 0.5045 GB, free: 6.574 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2771, allocations: 8 kB / 0.5045 GB, free: 6.566 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05432/0.3314, allocations: 41.54 MB / 0.5451 GB, free: 12.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.326, allocations: 7.891 kB / 0.5451 GB, free: 12.89 MB / 458.7 MB " [Timeout remaining time 652] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.39824312273413] Failed to read output from testmodel.py, exit status != 0: 8.431221672333777 8.441580794 8.2168363 Calling exit ...