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.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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001337/0.001337, allocations: 200 kB / 18.01 MB, free: 5.055 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.492/1.492, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3363/0.3363, allocations: 48.84 MB / 320.1 MB, free: 11.01 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.001758/0.001758, allocations: 67.89 kB / 450.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1287, allocations: 59.17 MB / 0.4977 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.3402/0.469, allocations: 77.61 MB / 0.5735 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.4842, allocations: 11.09 MB / 0.5844 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.4853, allocations: 23.38 kB / 0.5844 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.4866, allocations: 405.8 kB / 0.5848 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.4879, allocations: 0.5102 MB / 0.5853 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01864/0.5065, allocations: 5.88 MB / 0.591 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002761/0.5093, allocations: 1.379 MB / 0.5924 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.5103, allocations: 407.1 kB / 0.5928 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.5115, allocations: 486.4 kB / 0.5932 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.5126, allocations: 476 kB / 0.5937 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.5127, allocations: 41.69 kB / 0.5937 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/0.5265, allocations: 6.357 MB / 0.5999 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.5267, allocations: 124.4 kB / 0.6 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007453/0.5275, allocations: 396.7 kB / 0.6004 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.539, allocations: 4.113 MB / 0.6044 GB, free: 12.96 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.539, allocations: 0 / 0.6044 GB, free: 12.96 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.539, allocations: 0 / 0.6044 GB, free: 12.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.776e-05/0.5391, allocations: 0 / 0.6044 GB, free: 12.96 MB / 462.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.004401/0.5435, allocations: 1.492 MB / 0.6059 GB, free: 11.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5435, allocations: 11.89 kB / 0.6059 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004592/0.544, allocations: 119.9 kB / 0.606 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/0.5449, allocations: 0.5228 MB / 0.6065 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.545, allocations: 33.38 kB / 0.6066 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.545, allocations: 48.56 kB / 0.6066 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.5462, allocations: 0.6174 MB / 0.6072 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.5462, allocations: 3.938 kB / 0.6072 GB, free: 9.957 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.5463, allocations: 24 kB / 0.6072 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.5463, allocations: 15.98 kB / 0.6072 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.5471, allocations: 356.3 kB / 0.6076 GB, free: 9.57 MB / 462.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.003573/0.5507, allocations: 3.536 MB / 0.611 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.5512, allocations: 186.4 kB / 0.6112 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.728e-05/0.5513, allocations: 59.45 kB / 0.6113 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06406/0.6154, allocations: 32.12 MB / 0.6426 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.6155, allocations: 38.5 kB / 0.6427 GB, free: 1.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.863e-06/0.6155, allocations: 0 / 0.6427 GB, free: 1.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.00145/0.6169, allocations: 360.4 kB / 0.643 GB, free: 1.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.617, allocations: 132.5 kB / 0.6432 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.6184, allocations: 0.7395 MB / 0.6439 GB, free: 224 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.6185, allocations: 25.7 kB / 0.6439 GB, free: 192 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.6188, allocations: 355.9 kB / 0.6442 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.6189, allocations: 39.39 kB / 0.6443 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.619, allocations: 53.69 kB / 0.6443 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6191, allocations: 317.9 kB / 0.6446 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.6193, allocations: 60.83 kB / 0.6447 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.6195, allocations: 124.7 kB / 0.6448 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.6198, allocations: 198.8 kB / 0.645 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6198, allocations: 0 / 0.645 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005456/0.6203, allocations: 296.4 kB / 0.6453 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.6204, allocations: 11.91 kB / 0.6453 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.6204, allocations: 0 / 0.6453 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.6204, allocations: 4 kB / 0.6453 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.6207, allocations: 51.91 kB / 0.6453 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.6207, allocations: 7.984 kB / 0.6454 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.6212, allocations: 47.34 kB / 0.6454 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.6212, allocations: 16.25 kB / 0.6454 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000206/0.6214, allocations: 164.1 kB / 0.6456 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001427/0.6216, allocations: 183.8 kB / 0.6457 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002346/0.6218, allocations: 247.4 kB / 0.646 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.6218, allocations: 0 / 0.646 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000458/0.6223, allocations: 300.5 kB / 0.6463 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.6223, allocations: 4 kB / 0.6463 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6223, allocations: 8 kB / 0.6463 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.6223, allocations: 4 kB / 0.6463 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.6225, allocations: 51.91 kB / 0.6463 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6226, allocations: 11.94 kB / 0.6463 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.6229, allocations: 24.19 kB / 0.6464 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.623, allocations: 19.98 kB / 0.6464 GB, free: 13.39 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.0001118/0.6231, allocations: 196.1 kB / 0.6466 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.6233, allocations: 79.06 kB / 0.6466 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/0.6239, allocations: 0.5015 MB / 0.6471 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6239, allocations: 4.031 kB / 0.6471 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.6239, allocations: 4.875 kB / 0.6471 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.6239, allocations: 0 / 0.6471 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008146/0.6247, allocations: 0.6167 MB / 0.6477 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6247, allocations: 0 / 0.6477 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.6248, allocations: 19.98 kB / 0.6478 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.6248, allocations: 4 kB / 0.6478 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6248, allocations: 6.5 kB / 0.6478 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.6249, allocations: 4 kB / 0.6478 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6249, allocations: 3.938 kB / 0.6478 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.6253, allocations: 0.5088 MB / 0.6483 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.6255, allocations: 144.2 kB / 0.6484 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.6256, allocations: 35.53 kB / 0.6485 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.626, allocations: 4 kB / 0.6485 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.626, allocations: 7.984 kB / 0.6485 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.626, allocations: 15.92 kB / 0.6485 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008857/0.6269, allocations: 0.7189 MB / 0.6492 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6269, allocations: 4 kB / 0.6492 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003043/0.63, allocations: 1.05 MB / 0.6502 GB, free: 9.363 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.004262/0.6342, allocations: 0.9693 MB / 0.6512 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.6347, allocations: 221.1 kB / 0.6514 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6347, allocations: 0 / 0.6514 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.869e-05/0.6348, allocations: 32.36 kB / 0.6514 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.6373, allocations: 466.2 kB / 0.6518 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.639, allocations: 1.085 MB / 0.6529 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.6395, allocations: 0.9369 MB / 0.6538 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005552/0.6401, allocations: 285.1 kB / 0.6541 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.6402, allocations: 51.42 kB / 0.6541 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.6402, allocations: 0 / 0.6541 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.05984/0.7001, allocations: 39.75 MB / 0.693 GB, free: 13.44 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile (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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1)