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.001825/0.001825, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.001591/0.001591, allocations: 160.5 kB / 24.5 MB, free: 3.715 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.386/1.386, allocations: 158.6 MB / 186.3 MB, free: 6.207 MB / 174.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.2924/0.2924, allocations: 36.35 MB / 274.9 MB, free: 14.65 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [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.002342/0.002342, allocations: 71.89 kB / 415.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3325, allocations: 62.38 MB / 477.6 MB, free: 43.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.05749/0.39, allocations: 71.12 MB / 0.5359 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.4054, allocations: 9.895 MB / 0.5456 GB, free: 6.055 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008538/0.4063, allocations: 31 kB / 0.5456 GB, free: 6.035 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.4075, allocations: 379.5 kB / 0.546 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.4091, allocations: 0.5122 MB / 0.5465 GB, free: 5.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0184/0.4275, allocations: 5.828 MB / 0.5521 GB, free: 1.203 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.4298, allocations: 1.382 MB / 0.5535 GB, free: 416 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006493/0.4304, allocations: 335 kB / 0.5538 GB, free: 168 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008535/0.4313, allocations: 0.4909 MB / 0.5543 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007308/0.432, allocations: 469.2 kB / 0.5547 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.4321, allocations: 43.84 kB / 0.5548 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0124/0.4445, allocations: 6.063 MB / 0.5607 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.4447, allocations: 127.3 kB / 0.5608 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006601/0.4454, allocations: 334.4 kB / 0.5611 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008911/0.4543, allocations: 4.119 MB / 0.5652 GB, free: 7.531 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4543, allocations: 0 / 0.5652 GB, free: 7.531 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4543, allocations: 4 kB / 0.5652 GB, free: 7.527 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.4543, allocations: 0 / 0.5652 GB, free: 7.527 MB / 478.1 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.00336/0.4577, allocations: 1.444 MB / 0.5666 GB, free: 6.047 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4577, allocations: 12.02 kB / 0.5666 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.4581, allocations: 124.3 kB / 0.5667 GB, free: 5.914 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.459, allocations: 473.9 kB / 0.5672 GB, free: 5.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.459, allocations: 41.36 kB / 0.5672 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.4591, allocations: 48.38 kB / 0.5673 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.4602, allocations: 0.6126 MB / 0.5678 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4602, allocations: 7.938 kB / 0.5679 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.4603, allocations: 27.94 kB / 0.5679 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.4603, allocations: 16 kB / 0.5679 GB, free: 4.613 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000834/0.4611, allocations: 353.2 kB / 0.5682 GB, free: 4.27 MB / 478.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.003063/0.4642, allocations: 2.631 MB / 0.5708 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.4647, allocations: 178.4 kB / 0.571 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.4648, allocations: 55.45 kB / 0.571 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06305/0.5278, allocations: 16.8 MB / 0.5874 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.5279, allocations: 42.5 kB / 0.5875 GB, free: 392 kB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 4.598e-06/0.5279, allocations: 4 kB / 0.5875 GB, free: 388 kB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001302/0.5292, allocations: 337.7 kB / 0.5878 GB, free: 44 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.5293, allocations: 132.5 kB / 0.5879 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.53, allocations: 0.4951 MB / 0.5884 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.53, allocations: 29.7 kB / 0.5884 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.5303, allocations: 384 kB / 0.5888 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.5304, allocations: 35.66 kB / 0.5888 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/0.5304, allocations: 53.69 kB / 0.5889 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.5306, allocations: 358.8 kB / 0.5892 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.5308, allocations: 56.83 kB / 0.5893 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.531, allocations: 132.6 kB / 0.5894 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.5313, allocations: 198.2 kB / 0.5896 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5313, allocations: 0 / 0.5896 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005364/0.5318, allocations: 272.9 kB / 0.5899 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5319, allocations: 8 kB / 0.5899 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5319, allocations: 7.938 kB / 0.5899 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.5319, allocations: 4 kB / 0.5899 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.5322, allocations: 55.91 kB / 0.5899 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.5322, allocations: 13.91 kB / 0.59 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.5326, allocations: 15.89 kB / 0.59 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.5326, allocations: 8 kB / 0.59 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002401/0.5328, allocations: 160.1 kB / 0.5901 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002007/0.533, allocations: 184.3 kB / 0.5903 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003296/0.5334, allocations: 243.4 kB / 0.5905 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.5334, allocations: 4 kB / 0.5905 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004759/0.5338, allocations: 269.5 kB / 0.5908 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5338, allocations: 8 kB / 0.5908 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5339, allocations: 4 kB / 0.5908 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5339, allocations: 8 kB / 0.5908 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.5341, allocations: 63.78 kB / 0.5909 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.5341, allocations: 8 kB / 0.5909 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.5344, allocations: 19.89 kB / 0.5909 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.5344, allocations: 15.98 kB / 0.5909 GB, free: 12.55 MB / 0.4981 GB 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 0.0001584/0.5346, allocations: 192.2 kB / 0.5911 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5348, allocations: 63.56 kB / 0.5912 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007069/0.5355, allocations: 0.5279 MB / 0.5917 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5355, allocations: 4 kB / 0.5917 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5355, allocations: 0 / 0.5917 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5355, allocations: 4 kB / 0.5917 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007738/0.5363, allocations: 480.5 kB / 0.5921 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5363, allocations: 7.938 kB / 0.5922 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5364, allocations: 23.92 kB / 0.5922 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5364, allocations: 0 / 0.5922 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5364, allocations: 0 / 0.5922 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5364, allocations: 7.938 kB / 0.5922 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5364, allocations: 4 kB / 0.5922 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.5368, allocations: 486.3 kB / 0.5926 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5369, allocations: 59.55 kB / 0.5927 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.691e-05/0.537, allocations: 31.67 kB / 0.5927 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.5373, allocations: 0 / 0.5927 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.5374, allocations: 15.92 kB / 0.5928 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5374, allocations: 4 kB / 0.5928 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000748/0.5381, allocations: 0.5653 MB / 0.5933 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5381, allocations: 0 / 0.5933 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003074/0.5412, allocations: 1.107 MB / 0.5944 GB, free: 8.938 MB / 0.4981 GB 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.004082/0.5453, allocations: 0.9807 MB / 0.5953 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.5458, allocations: 203.7 kB / 0.5955 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5458, allocations: 1.812 kB / 0.5955 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.368e-05/0.5459, allocations: 31.92 kB / 0.5956 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.5477, allocations: 272.6 kB / 0.5958 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.5495, allocations: 1.096 MB / 0.5969 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.5499, allocations: 335.6 kB / 0.5972 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004762/0.5504, allocations: 258.5 kB / 0.5975 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/0.5505, allocations: 44.42 kB / 0.5975 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.5505, allocations: 0 / 0.5975 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of Templates: time 0.05967/0.6101, allocations: 36.17 MB / 0.6328 GB, free: 1.484 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3766576499911025] Failed to read output from testmodel.py, exit status != 0: 0.6199701119912788 0.635834301 0.17799873000000002 Calling exit ...