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.001425/0.001425, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001953/0.001953, allocations: 208.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.691/1.691, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.3924/0.3924, allocations: 49.6 MB / 336.4 MB, free: 3.887 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 71.89 kB / 476.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1538, allocations: 62.43 MB / 0.5261 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.3685/0.5223, allocations: 40.64 MB / 0.5658 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.5391, allocations: 8.212 MB / 0.5739 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007115/0.5398, allocations: 18.41 kB / 0.5739 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.5409, allocations: 200.9 kB / 0.5741 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009582/0.5419, allocations: 283.7 kB / 0.5743 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01892/0.5608, allocations: 4.989 MB / 0.5792 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.5626, allocations: 0.7938 MB / 0.58 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.563, allocations: 216.7 kB / 0.5802 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.564, allocations: 395.5 kB / 0.5806 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.5645, allocations: 290 kB / 0.5808 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.5645, allocations: 30.06 kB / 0.5809 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0163/0.5808, allocations: 5.871 MB / 0.5866 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.5811, allocations: 81.14 kB / 0.5867 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006253/0.5818, allocations: 210.3 kB / 0.5869 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.5969, allocations: 3.718 MB / 0.5905 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.5969, allocations: 0 / 0.5905 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5969, allocations: 1.625 kB / 0.5905 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.5969, allocations: 0 / 0.5905 GB, free: 0.6406 MB / 430.1 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.005309/0.6022, allocations: 1.133 MB / 0.5916 GB, free: 15.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.6023, allocations: 14.38 kB / 0.5916 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.114e-05/0.6024, allocations: 67.81 kB / 0.5917 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.6026, allocations: 76.06 kB / 0.5918 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.6033, allocations: 306 kB / 0.5921 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.6034, allocations: 30.8 kB / 0.5921 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.6034, allocations: 29.12 kB / 0.5921 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.6045, allocations: 435 kB / 0.5925 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.6045, allocations: 3.938 kB / 0.5925 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.6045, allocations: 15.59 kB / 0.5926 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.6045, allocations: 9.875 kB / 0.5926 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.6058, allocations: 357.5 kB / 0.5929 GB, free: 14.95 MB / 446.1 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.002425/0.6083, allocations: 1.618 MB / 0.5945 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.6095, allocations: 288.8 kB / 0.5948 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.6098, allocations: 108.2 kB / 0.5949 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06301/0.6728, allocations: 16.86 MB / 0.6113 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.6729, allocations: 40.12 kB / 0.6114 GB, free: 13.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.365e-06/0.6729, allocations: 0 / 0.6114 GB, free: 13.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001883/0.6748, allocations: 421 kB / 0.6118 GB, free: 13.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.6748, allocations: 77.11 kB / 0.6118 GB, free: 13.26 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.6754, allocations: 442 kB / 0.6123 GB, free: 12.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.6754, allocations: 25.7 kB / 0.6123 GB, free: 12.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.6756, allocations: 228.4 kB / 0.6125 GB, free: 12.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/0.6757, allocations: 67.44 kB / 0.6126 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.6758, allocations: 57.62 kB / 0.6126 GB, free: 12.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.676, allocations: 354.7 kB / 0.613 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.6764, allocations: 96.8 kB / 0.6131 GB, free: 11.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.6768, allocations: 163.6 kB / 0.6132 GB, free: 11.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008031/0.6776, allocations: 263.8 kB / 0.6135 GB, free: 11.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6776, allocations: 0 / 0.6135 GB, free: 11.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009884/0.6786, allocations: 333 kB / 0.6138 GB, free: 11.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6786, allocations: 7.938 kB / 0.6138 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.6786, allocations: 4.219 kB / 0.6138 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.6787, allocations: 8 kB / 0.6138 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.679, allocations: 67.88 kB / 0.6139 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.679, allocations: 4 kB / 0.6139 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.6794, allocations: 47.66 kB / 0.6139 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.6795, allocations: 15.98 kB / 0.6139 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004661/0.6799, allocations: 197.1 kB / 0.6141 GB, free: 10.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000421/0.6804, allocations: 159.7 kB / 0.6143 GB, free: 10.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007627/0.6811, allocations: 257.2 kB / 0.6145 GB, free: 10.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.6811, allocations: 0 / 0.6145 GB, free: 10.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0009008/0.682, allocations: 321.3 kB / 0.6148 GB, free: 10.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.682, allocations: 8 kB / 0.6148 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.682, allocations: 0 / 0.6148 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.682, allocations: 4 kB / 0.6148 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.6824, allocations: 72.36 kB / 0.6149 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6824, allocations: 4 kB / 0.6149 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.6827, allocations: 35.8 kB / 0.6149 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.6828, allocations: 12 kB / 0.6149 GB, free: 9.902 MB / 462.1 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 0.0001769/0.6829, allocations: 192.1 kB / 0.6151 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.683, allocations: 55.67 kB / 0.6152 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.6842, allocations: 471.5 kB / 0.6156 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.6842, allocations: 0 / 0.6156 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6842, allocations: 0 / 0.6156 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6842, allocations: 15.92 kB / 0.6157 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.6848, allocations: 380.2 kB / 0.616 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6848, allocations: 0 / 0.616 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.6851, allocations: 51.95 kB / 0.6161 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6851, allocations: 0 / 0.6161 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.6852, allocations: 11.97 kB / 0.6161 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6852, allocations: 0 / 0.6161 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6852, allocations: 0 / 0.6161 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009913/0.6861, allocations: 462.3 kB / 0.6165 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.6863, allocations: 51.59 kB / 0.6166 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.6864, allocations: 19.89 kB / 0.6166 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.6867, allocations: 23.97 kB / 0.6166 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.6868, allocations: 19.91 kB / 0.6166 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.6868, allocations: 4 kB / 0.6166 GB, free: 8.113 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005143/0.6873, allocations: 410.8 kB / 0.617 GB, free: 7.715 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6873, allocations: 0 / 0.617 GB, free: 7.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003751/0.6911, allocations: 0.9397 MB / 0.6179 GB, free: 6.773 MB / 462.1 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.006613/0.6977, allocations: 1.852 MB / 0.6197 GB, free: 4.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.6991, allocations: 348.2 kB / 0.6201 GB, free: 4.555 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6991, allocations: 4 kB / 0.6201 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.6994, allocations: 99.86 kB / 0.6202 GB, free: 4.453 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.7009, allocations: 246 kB / 0.6204 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/0.7106, allocations: 4.281 MB / 0.6246 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.7108, allocations: 233.7 kB / 0.6248 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005882/0.7114, allocations: 159 kB / 0.625 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.7117, allocations: 171.4 kB / 0.6251 GB, free: 15.22 MB / 478.1 MB Notification: Performance of SimCode: time 1.422e-06/0.7117, allocations: 0 / 0.6251 GB, free: 15.22 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/0.8172, allocations: 41.38 MB / 0.6655 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.11, allocations: 8.016 kB / 0.6655 GB, free: 5.699 MB / 0.4981 GB " [Timeout remaining time 645] (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: 18.72929512616247] Failed to read output from testmodel.py, exit status != 0: 15.246554272715002 15.264753763 14.664255485 Calling exit ...