Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 110 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2809/0.2809, allocations: 48.84 MB / 320.7 MB, free: 11.03 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 64.83 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1204, allocations: 59.16 MB / 450.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.06514/0.1855, allocations: 70.9 MB / 0.5093 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.2, allocations: 11.89 MB / 0.521 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008323/0.2009, allocations: 19.88 kB / 0.521 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.2021, allocations: 417.1 kB / 0.5214 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.2034, allocations: 0.5083 MB / 0.5219 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2964/0.4999, allocations: 5.542 MB / 0.5273 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.5021, allocations: 1.361 MB / 0.5286 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.5029, allocations: 0.5598 MB / 0.5292 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.5038, allocations: 0.528 MB / 0.5297 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.5045, allocations: 0.5775 MB / 0.5302 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.5046, allocations: 58.88 kB / 0.5303 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/0.5177, allocations: 6.481 MB / 0.5366 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.518, allocations: 167.3 kB / 0.5368 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009832/0.519, allocations: 436.5 kB / 0.5372 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009781/0.5288, allocations: 4.33 MB / 0.5414 GB, free: 9.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5289, allocations: 0 / 0.5414 GB, free: 9.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5289, allocations: 0.625 kB / 0.5414 GB, free: 9.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.5289, allocations: 1.156 kB / 0.5414 GB, free: 9.863 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.007587/0.5365, allocations: 1.812 MB / 0.5432 GB, free: 9.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.07e-05/0.5366, allocations: 13.02 kB / 0.5432 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009383/0.5375, allocations: 134.3 kB / 0.5433 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.5392, allocations: 0.5727 MB / 0.5439 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.5393, allocations: 36.88 kB / 0.5439 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.5395, allocations: 54.91 kB / 0.544 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.5424, allocations: 0.8388 MB / 0.5448 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.5425, allocations: 4.344 kB / 0.5448 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/0.5426, allocations: 18.97 kB / 0.5448 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.5426, allocations: 12.91 kB / 0.5448 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.5457, allocations: 0.8332 MB / 0.5457 GB, free: 8.523 MB / 414.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.004938/0.5506, allocations: 3.508 MB / 0.5491 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.5522, allocations: 409.1 kB / 0.5495 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.5528, allocations: 197.4 kB / 0.5497 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1145/0.6674, allocations: 32.13 MB / 0.581 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.238e-05/0.6675, allocations: 37.34 kB / 0.5811 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001194/0.6687, allocations: 84.88 kB / 0.5811 GB, free: 15.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 8.967e-06/0.6688, allocations: 0 / 0.5811 GB, free: 15.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.01639/0.6852, allocations: 1.793 MB / 0.5829 GB, free: 14.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.6853, allocations: 54.09 kB / 0.5829 GB, free: 14.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.6868, allocations: 0.6291 MB / 0.5836 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.6869, allocations: 29.52 kB / 0.5836 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.6872, allocations: 335.8 kB / 0.5839 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.6875, allocations: 115.5 kB / 0.584 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.6877, allocations: 76.72 kB / 0.5841 GB, free: 13.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.6879, allocations: 327.9 kB / 0.5844 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/0.6886, allocations: 167 kB / 0.5846 GB, free: 13.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.6894, allocations: 211 kB / 0.5848 GB, free: 13.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.6908, allocations: 375.4 kB / 0.5851 GB, free: 13.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.6908, allocations: 7.562 kB / 0.5851 GB, free: 13.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002648/0.6935, allocations: 0.6329 MB / 0.5858 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.6935, allocations: 7.562 kB / 0.5858 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.6935, allocations: 3.562 kB / 0.5858 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/0.7062, allocations: 1.183 MB / 0.5869 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.7067, allocations: 47.47 kB / 0.587 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.71, allocations: 0.9651 MB / 0.5879 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.7113, allocations: 26.16 kB / 0.5879 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.7115, allocations: 22.16 kB / 0.588 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009236/0.7124, allocations: 262.8 kB / 0.5882 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006284/0.713, allocations: 224.1 kB / 0.5884 GB, free: 11.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001429/0.7145, allocations: 378.1 kB / 0.5888 GB, free: 10.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.37e-06/0.7145, allocations: 0.7031 kB / 0.5888 GB, free: 10.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.002452/0.717, allocations: 0.5298 MB / 0.5893 GB, free: 10.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.717, allocations: 11.98 kB / 0.5893 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.717, allocations: 4.891 kB / 0.5893 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/0.7176, allocations: 64.11 kB / 0.5894 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/0.7184, allocations: 90.55 kB / 0.5895 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.7209, allocations: 1.564 MB / 0.591 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.722, allocations: 35.12 kB / 0.591 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.7221, allocations: 22.44 kB / 0.591 GB, free: 8.789 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000316/0.7225, allocations: 191.6 kB / 0.5912 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.7227, allocations: 75.06 kB / 0.5913 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.7271, allocations: 2.035 MB / 0.5933 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/0.7272, allocations: 22.78 kB / 0.5933 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.7272, allocations: 3.094 kB / 0.5933 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.7272, allocations: 3.984 kB / 0.5933 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.729, allocations: 0.9379 MB / 0.5942 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.729, allocations: 0 / 0.5942 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.7294, allocations: 39.95 kB / 0.5943 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00553/0.7349, allocations: 1.395 MB / 0.5956 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.735, allocations: 10.25 kB / 0.5956 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/0.7387, allocations: 2.068 MB / 0.5977 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7387, allocations: 2.297 kB / 0.5977 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/0.7425, allocations: 1.754 MB / 0.5994 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.7429, allocations: 178.8 kB / 0.5995 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.7431, allocations: 14.91 kB / 0.5996 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007501/0.7439, allocations: 33.25 kB / 0.5996 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.744, allocations: 27.58 kB / 0.5996 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.7441, allocations: 19.36 kB / 0.5996 GB, free: 2.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009299/0.7451, allocations: 452.3 kB / 0.6001 GB, free: 2.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7451, allocations: 0 / 0.6001 GB, free: 2.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005986/0.7511, allocations: 1.09 MB / 0.6011 GB, free: 1.078 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007542/0.7586, allocations: 1.001 MB / 0.6021 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004685/0.7634, allocations: 0.9152 MB / 0.603 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7634, allocations: 3.094 kB / 0.603 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.7651, allocations: 0.4888 MB / 0.6035 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/0.7687, allocations: 421.7 kB / 0.6039 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.7725, allocations: 1.591 MB / 0.6054 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008146/0.7733, allocations: 0.9908 MB / 0.6064 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008997/0.7742, allocations: 264.7 kB / 0.6067 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.7744, allocations: 47.36 kB / 0.6067 GB, free: 12.1 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7744, allocations: 0 / 0.6067 GB, free: 12.1 MB / 462.1 MB Notification: Performance of Templates: time 0.06249/0.8369, allocations: 44.06 MB / 0.6497 GB, free: 272 kB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1)