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.001588/0.001588, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001968/0.001968, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.576/1.576, allocations: 207.6 MB / 235.3 MB, free: 10 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.3239/0.3239, allocations: 49.56 MB / 337.1 MB, free: 4.117 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: translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [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.002461/0.002461, allocations: 71.89 kB / 477.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1341, allocations: 62.43 MB / 0.5274 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.3118/0.4459, allocations: 45 MB / 0.5713 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.46, allocations: 9.333 MB / 0.5804 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006626/0.4606, allocations: 13.44 kB / 0.5804 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008213/0.4615, allocations: 203.8 kB / 0.5806 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007838/0.4622, allocations: 288.4 kB / 0.5809 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01679/0.479, allocations: 5.075 MB / 0.5859 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.4806, allocations: 0.8012 MB / 0.5866 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.481, allocations: 216.8 kB / 0.5868 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008827/0.4819, allocations: 418.2 kB / 0.5872 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.4823, allocations: 311.7 kB / 0.5875 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.4824, allocations: 30.53 kB / 0.5876 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/0.4961, allocations: 6.16 MB / 0.5936 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.4963, allocations: 92.25 kB / 0.5937 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.4968, allocations: 242.6 kB / 0.5939 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009671/0.5064, allocations: 3.709 MB / 0.5975 GB, free: 11.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.5064, allocations: 0 / 0.5975 GB, free: 11.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5064, allocations: 3.938 kB / 0.5975 GB, free: 11.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.5065, allocations: 5.25 kB / 0.5975 GB, free: 11.48 MB / 446.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.003885/0.5103, allocations: 1.141 MB / 0.5986 GB, free: 10.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5104, allocations: 8.781 kB / 0.5987 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.5107, allocations: 70.81 kB / 0.5987 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006536/0.5113, allocations: 322.4 kB / 0.599 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.5114, allocations: 22.69 kB / 0.5991 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.5114, allocations: 32.41 kB / 0.5991 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.5124, allocations: 439.1 kB / 0.5995 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5125, allocations: 3.062 kB / 0.5995 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.5125, allocations: 13.44 kB / 0.5995 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.5125, allocations: 11.86 kB / 0.5995 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.5137, allocations: 359.8 kB / 0.5999 GB, free: 9.84 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.002541/0.5162, allocations: 2.087 MB / 0.6019 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.5174, allocations: 293.4 kB / 0.6022 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.5177, allocations: 109.9 kB / 0.6023 GB, free: 7.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05909/0.5768, allocations: 16.79 MB / 0.6187 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.5769, allocations: 42.5 kB / 0.6187 GB, free: 7.828 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.255e-06/0.5769, allocations: 0 / 0.6187 GB, free: 7.828 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001797/0.5787, allocations: 418.6 kB / 0.6191 GB, free: 7.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.5787, allocations: 81.11 kB / 0.6192 GB, free: 7.316 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.5794, allocations: 438 kB / 0.6196 GB, free: 6.879 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.5794, allocations: 29.7 kB / 0.6197 GB, free: 6.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.5796, allocations: 236.3 kB / 0.6199 GB, free: 6.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/0.5797, allocations: 67.44 kB / 0.6199 GB, free: 6.543 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/0.5798, allocations: 49.62 kB / 0.62 GB, free: 6.488 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.58, allocations: 358.7 kB / 0.6203 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.5804, allocations: 100.8 kB / 0.6204 GB, free: 6.027 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.5808, allocations: 159.6 kB / 0.6206 GB, free: 5.844 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/0.5816, allocations: 259.8 kB / 0.6208 GB, free: 5.562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5816, allocations: 0 / 0.6208 GB, free: 5.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001177/0.5828, allocations: 333 kB / 0.6212 GB, free: 5.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5828, allocations: 8.219 kB / 0.6212 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.5828, allocations: 4 kB / 0.6212 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.5828, allocations: 4 kB / 0.6212 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.5832, allocations: 63.89 kB / 0.6212 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.5832, allocations: 7.984 kB / 0.6212 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.5836, allocations: 47.72 kB / 0.6213 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.5837, allocations: 17.05 kB / 0.6213 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004732/0.5841, allocations: 196.1 kB / 0.6215 GB, free: 4.887 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000401/0.5845, allocations: 157.8 kB / 0.6216 GB, free: 4.699 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007268/0.5853, allocations: 265.5 kB / 0.6219 GB, free: 4.406 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.5853, allocations: 0 / 0.6219 GB, free: 4.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0009645/0.5862, allocations: 321 kB / 0.6222 GB, free: 4.086 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.5862, allocations: 4.188 kB / 0.6222 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5863, allocations: 4.281 kB / 0.6222 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.5863, allocations: 11.94 kB / 0.6222 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.5866, allocations: 59.89 kB / 0.6223 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5866, allocations: 4 kB / 0.6223 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.587, allocations: 35.86 kB / 0.6223 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.587, allocations: 11.94 kB / 0.6223 GB, free: 3.957 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.0001562/0.5871, allocations: 204.1 kB / 0.6225 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.5873, allocations: 47.67 kB / 0.6226 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.5884, allocations: 464.4 kB / 0.623 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5884, allocations: 4 kB / 0.623 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5884, allocations: 0 / 0.623 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5884, allocations: 3.984 kB / 0.623 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.5891, allocations: 432.1 kB / 0.6234 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5891, allocations: 4 kB / 0.6234 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.5894, allocations: 47.95 kB / 0.6235 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.5894, allocations: 3.938 kB / 0.6235 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.5894, allocations: 8 kB / 0.6235 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.5894, allocations: 4.188 kB / 0.6235 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5894, allocations: 0 / 0.6235 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.5904, allocations: 466.1 kB / 0.6239 GB, free: 2.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.5905, allocations: 47.64 kB / 0.624 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.5906, allocations: 19.84 kB / 0.624 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.591, allocations: 15.98 kB / 0.624 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.5911, allocations: 23.97 kB / 0.624 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.5911, allocations: 7.938 kB / 0.624 GB, free: 2.117 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005418/0.5916, allocations: 410.8 kB / 0.6244 GB, free: 1.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5916, allocations: 7.938 kB / 0.6244 GB, free: 1.711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003786/0.5954, allocations: 0.9358 MB / 0.6254 GB, free: 0.7734 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.005359/0.6008, allocations: 0.9589 MB / 0.6263 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.6023, allocations: 347.9 kB / 0.6266 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6023, allocations: 0 / 0.6266 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.6027, allocations: 104.3 kB / 0.6267 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6042, allocations: 228.2 kB / 0.6269 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.606, allocations: 0.814 MB / 0.6277 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.6065, allocations: 0.8308 MB / 0.6285 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.6066, allocations: 43.42 kB / 0.6286 GB, free: 13.39 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6066, allocations: 0 / 0.6286 GB, free: 13.39 MB / 478.1 MB Notification: Performance of Templates: time 0.03665/0.6433, allocations: 20.2 MB / 0.6483 GB, free: 9.16 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.34948972100392] Failed to read output from testmodel.py, exit status != 0: 0.6534940102137625 0.669318092 0.15932970600000002 Calling exit ...