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.001478/0.001477, allocations: 106.5 kB / 17.74 MB, free: 5.32 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.001741/0.001741, allocations: 197.2 kB / 18.67 MB, free: 4.395 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.393/1.393, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2922/0.2922, allocations: 48.84 MB / 320.7 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.001442/0.001442, allocations: 71.89 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1195, allocations: 59.17 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.3085/0.4281, allocations: 77.61 MB / 0.5742 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.4424, allocations: 11.09 MB / 0.585 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009493/0.4434, allocations: 22.66 kB / 0.5851 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.4446, allocations: 410.2 kB / 0.5855 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.446, allocations: 0.5006 MB / 0.5859 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01756/0.4635, allocations: 5.863 MB / 0.5917 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002301/0.4659, allocations: 1.374 MB / 0.593 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000648/0.4665, allocations: 401 kB / 0.5934 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.4674, allocations: 490.1 kB / 0.5939 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.468, allocations: 483.2 kB / 0.5943 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.468, allocations: 43.34 kB / 0.5944 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/0.4813, allocations: 6.346 MB / 0.6006 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.4816, allocations: 127.6 kB / 0.6007 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008276/0.4824, allocations: 387.5 kB / 0.601 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.4929, allocations: 4.114 MB / 0.6051 GB, free: 13.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.4929, allocations: 7.984 kB / 0.6051 GB, free: 13.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4929, allocations: 4 kB / 0.6051 GB, free: 13.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.493, allocations: 0 / 0.6051 GB, free: 13.03 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.003409/0.4964, allocations: 1.48 MB / 0.6065 GB, free: 11.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4964, allocations: 11.89 kB / 0.6065 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.4968, allocations: 123.9 kB / 0.6066 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/0.4975, allocations: 0.515 MB / 0.6072 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.4976, allocations: 37.38 kB / 0.6072 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.4976, allocations: 52.55 kB / 0.6072 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009837/0.4986, allocations: 0.6204 MB / 0.6078 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4987, allocations: 0 / 0.6078 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.4987, allocations: 24 kB / 0.6079 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4987, allocations: 12 kB / 0.6079 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.4995, allocations: 364.9 kB / 0.6082 GB, free: 9.641 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.003413/0.5029, allocations: 3.536 MB / 0.6117 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.5034, allocations: 182.4 kB / 0.6119 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.5035, allocations: 59.52 kB / 0.6119 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06367/0.5672, allocations: 32.13 MB / 0.6433 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.5673, allocations: 38.56 kB / 0.6433 GB, free: 1.555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 3.256e-06/0.5673, allocations: 0 / 0.6433 GB, free: 1.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.00143/0.5687, allocations: 361.1 kB / 0.6437 GB, free: 1.195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.5688, allocations: 136.5 kB / 0.6438 GB, free: 1.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/0.5698, allocations: 0.7356 MB / 0.6445 GB, free: 296 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.5698, allocations: 25.7 kB / 0.6445 GB, free: 264 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.5702, allocations: 352 kB / 0.6449 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.5703, allocations: 43.3 kB / 0.6449 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/0.5704, allocations: 53.69 kB / 0.645 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5705, allocations: 313.9 kB / 0.6453 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.5706, allocations: 60.83 kB / 0.6453 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.5708, allocations: 126.2 kB / 0.6454 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.5711, allocations: 198.1 kB / 0.6456 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5711, allocations: 0.875 kB / 0.6456 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00055/0.5717, allocations: 292.4 kB / 0.6459 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.5717, allocations: 8 kB / 0.6459 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5717, allocations: 0 / 0.6459 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.5717, allocations: 4 kB / 0.6459 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.572, allocations: 56.16 kB / 0.646 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.5721, allocations: 11.92 kB / 0.646 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.5725, allocations: 47.34 kB / 0.646 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.5726, allocations: 16.88 kB / 0.646 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002204/0.5728, allocations: 160.1 kB / 0.6462 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001634/0.573, allocations: 179.9 kB / 0.6464 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000279/0.5733, allocations: 247.4 kB / 0.6466 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.5733, allocations: 0 / 0.6466 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005308/0.5738, allocations: 304.1 kB / 0.6469 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5738, allocations: 7.906 kB / 0.6469 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5738, allocations: 8.719 kB / 0.6469 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.5738, allocations: 4 kB / 0.6469 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.5741, allocations: 55.91 kB / 0.647 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.5741, allocations: 15.92 kB / 0.647 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.5745, allocations: 24.66 kB / 0.647 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.5745, allocations: 19.98 kB / 0.647 GB, free: 13.45 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.0001189/0.5746, allocations: 188.2 kB / 0.6472 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.5748, allocations: 83 kB / 0.6473 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006036/0.5754, allocations: 0.5053 MB / 0.6478 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5754, allocations: 3.938 kB / 0.6478 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5754, allocations: 0 / 0.6478 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.5756, allocations: 152.1 kB / 0.6479 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.5758, allocations: 35.53 kB / 0.648 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.5762, allocations: 2.938 kB / 0.648 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.5762, allocations: 11.92 kB / 0.648 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002797/0.5765, allocations: 414.7 kB / 0.6484 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004131/0.5769, allocations: 0.5705 MB / 0.6489 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.866e-05/0.577, allocations: 28.36 kB / 0.649 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009072/0.5779, allocations: 0.7383 MB / 0.6497 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of Backend: time 5.71e-07/0.5779, allocations: 3.938 kB / 0.6497 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005994/0.5839, allocations: 1.386 MB / 0.651 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00345/0.5874, allocations: 1.953 MB / 0.6529 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of Templates: time 0.06571/0.6531, allocations: 44.47 MB / 0.6964 GB, free: 10.72 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)