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.001096/0.001096, 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.000914/0.000914, 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.8234/0.8234, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1697/0.1697, allocations: 36.35 MB / 274.3 MB, free: 10.98 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.583e-06/1.583e-06, allocations: 0 / 414.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.683e-05, allocations: 10.22 kB / 414.3 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.179/0.179, allocations: 40.34 MB / 454.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007478/0.1865, allocations: 8.21 MB / 462.9 MB, free: 5.785 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.1868, allocations: 18.28 kB / 462.9 MB, free: 5.773 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.1874, allocations: 206.7 kB / 463.1 MB, free: 5.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.1879, allocations: 289.6 kB / 463.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.1979, allocations: 5.061 MB / 468.5 MB, free: 2.531 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.1991, allocations: 0.8313 MB / 469.3 MB, free: 2.035 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.1995, allocations: 220.9 kB / 469.5 MB, free: 1.879 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.2002, allocations: 499 kB / 470 MB, free: 1.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.2005, allocations: 252.6 kB / 470.2 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.2006, allocations: 30.47 kB / 470.3 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008737/0.2093, allocations: 5.895 MB / 476.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003836/0.2097, allocations: 87.05 kB / 476.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.21, allocations: 168.6 kB / 476.4 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007206/0.2172, allocations: 4.666 MB / 481.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2172, allocations: 4 kB / 481.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2172, allocations: 0 / 481.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2173, allocations: 0 / 481.1 MB, free: 10.66 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.002131/0.2194, allocations: 1.126 MB / 482.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2194, allocations: 12.03 kB / 482.2 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.2195, allocations: 66.72 kB / 482.3 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.2196, allocations: 72.59 kB / 482.4 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.2201, allocations: 314.4 kB / 482.7 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.2201, allocations: 25.03 kB / 482.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.2201, allocations: 31.09 kB / 482.7 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.2207, allocations: 427.2 kB / 483.1 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2207, allocations: 4 kB / 483.1 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.2208, allocations: 19.94 kB / 483.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2208, allocations: 8 kB / 483.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.2214, allocations: 363.5 kB / 483.5 MB, free: 8.125 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.001632/0.223, allocations: 1.606 MB / 485.1 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.2237, allocations: 281.1 kB / 485.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.2239, allocations: 109.6 kB / 485.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02897/0.2529, allocations: 16.85 MB / 0.4906 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.2529, allocations: 38 kB / 0.4906 GB, free: 5.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.394e-06/0.2529, allocations: 3.938 kB / 0.4906 GB, free: 5.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.00107/0.254, allocations: 429 kB / 0.491 GB, free: 4.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.254, allocations: 85.05 kB / 0.4911 GB, free: 4.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.2544, allocations: 438.1 kB / 0.4915 GB, free: 4.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2544, allocations: 25.7 kB / 0.4916 GB, free: 4.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.2545, allocations: 232.4 kB / 0.4918 GB, free: 3.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.2546, allocations: 59.84 kB / 0.4919 GB, free: 3.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.2546, allocations: 53.69 kB / 0.4919 GB, free: 3.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.2547, allocations: 354.7 kB / 0.4922 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2549, allocations: 112.7 kB / 0.4923 GB, free: 3.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.2551, allocations: 151.6 kB / 0.4925 GB, free: 3.125 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.2555, allocations: 255.5 kB / 0.4927 GB, free: 2.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2555, allocations: 0 / 0.4927 GB, free: 2.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004963/0.256, allocations: 337.1 kB / 0.4931 GB, free: 2.512 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.256, allocations: 10.5 kB / 0.4931 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.256, allocations: 0 / 0.4931 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2561, allocations: 4 kB / 0.4931 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.2562, allocations: 71.88 kB / 0.4931 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2563, allocations: 8 kB / 0.4931 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.2564, allocations: 47.94 kB / 0.4932 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2565, allocations: 12 kB / 0.4932 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002575/0.2567, allocations: 196 kB / 0.4934 GB, free: 2.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001936/0.2569, allocations: 165.3 kB / 0.4935 GB, free: 1.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003548/0.2573, allocations: 253.2 kB / 0.4938 GB, free: 1.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.2573, allocations: 0 / 0.4938 GB, free: 1.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004437/0.2577, allocations: 333.6 kB / 0.4941 GB, free: 1.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.058e-06/0.2577, allocations: 4 kB / 0.4941 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2577, allocations: 4 kB / 0.4941 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/0.2577, allocations: 4 kB / 0.4941 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2579, allocations: 67.89 kB / 0.4942 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2579, allocations: 3.984 kB / 0.4942 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.2583, allocations: 35.91 kB / 0.4942 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2583, allocations: 12 kB / 0.4942 GB, free: 1.23 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 9.257e-05/0.2584, allocations: 200.1 kB / 0.4944 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.2584, allocations: 47.72 kB / 0.4945 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/0.259, allocations: 468.5 kB / 0.4949 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.259, allocations: 4 kB / 0.4949 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2591, allocations: 192 / 0.4949 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.2591, allocations: 0 / 0.4949 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.2594, allocations: 384.2 kB / 0.4953 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2594, allocations: 0 / 0.4953 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.2595, allocations: 63.88 kB / 0.4953 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2595, allocations: 4.875 kB / 0.4954 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2596, allocations: 0 / 0.4954 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2596, allocations: 0 / 0.4954 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2596, allocations: 4 kB / 0.4954 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.26, allocations: 454.2 kB / 0.4958 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.2601, allocations: 47.64 kB / 0.4958 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.2601, allocations: 23.77 kB / 0.4959 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.2603, allocations: 20.86 kB / 0.4959 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.2603, allocations: 19.97 kB / 0.4959 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2603, allocations: 4 kB / 0.4959 GB, free: 15.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002905/0.2606, allocations: 422.8 kB / 0.4963 GB, free: 15.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2606, allocations: 0 / 0.4963 GB, free: 15.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001866/0.2625, allocations: 0.9358 MB / 0.4972 GB, free: 14.1 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.003126/0.2656, allocations: 1.962 MB / 0.4991 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.2663, allocations: 348.3 kB / 0.4995 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2663, allocations: 0 / 0.4995 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.2664, allocations: 108.5 kB / 0.4996 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.2672, allocations: 237.8 kB / 0.4998 GB, free: 11.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.2719, allocations: 4.279 MB / 0.504 GB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.272, allocations: 225.8 kB / 0.5042 GB, free: 6.773 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002984/0.2723, allocations: 167 kB / 0.5043 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.2725, allocations: 184.4 kB / 0.5045 GB, free: 6.43 MB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2725, allocations: 0 / 0.5045 GB, free: 6.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05726/0.3298, allocations: 41.54 MB / 0.5451 GB, free: 12.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.715, allocations: 11.95 kB / 0.5451 GB, free: 12.76 MB / 458.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.5303092636168] Failed to read output from testmodel.py, exit status != 0: 8.822655959054828 8.831801438 8.612689153 Calling exit ...