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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoeffValve,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoeffValve,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 105.2 kB / 17.06 MB, free: 5.785 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.001038/0.001038, allocations: 198.9 kB / 18 MB, free: 4.93 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.343/1.343, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2857/0.2857, allocations: 48.85 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.001575/0.001575, allocations: 71.91 kB / 450 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09814, allocations: 59.15 MB / 0.4973 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2762/0.3743, allocations: 77.62 MB / 0.5731 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.3885, allocations: 11.09 MB / 0.5839 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/0.3893, allocations: 23.03 kB / 0.5839 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3906, allocations: 398.7 kB / 0.5843 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.3919, allocations: 0.5046 MB / 0.5848 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01537/0.4072, allocations: 5.859 MB / 0.5905 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.4092, allocations: 1.378 MB / 0.5918 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000644/0.4099, allocations: 395.9 kB / 0.5922 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008469/0.4107, allocations: 498.3 kB / 0.5927 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007126/0.4114, allocations: 483.7 kB / 0.5932 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.4115, allocations: 46.5 kB / 0.5932 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.4231, allocations: 6.349 MB / 0.5994 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.4234, allocations: 115.2 kB / 0.5995 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007046/0.4241, allocations: 395.9 kB / 0.5999 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008999/0.4331, allocations: 4.115 MB / 0.6039 GB, free: 13.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4332, allocations: 0 / 0.6039 GB, free: 13.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4332, allocations: 0 / 0.6039 GB, free: 13.2 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4332, allocations: 4 kB / 0.6039 GB, free: 13.2 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.003433/0.4366, allocations: 1.484 MB / 0.6054 GB, free: 11.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4367, allocations: 11.89 kB / 0.6054 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.08e-05/0.4368, allocations: 86.7 kB / 0.6055 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/0.4372, allocations: 119.9 kB / 0.6056 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000747/0.4379, allocations: 0.5189 MB / 0.6061 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.438, allocations: 37.38 kB / 0.6061 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.438, allocations: 48.38 kB / 0.6062 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.4391, allocations: 0.6204 MB / 0.6068 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4391, allocations: 7.938 kB / 0.6068 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.4391, allocations: 20 kB / 0.6068 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.4392, allocations: 12 kB / 0.6068 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007267/0.4399, allocations: 360.3 kB / 0.6072 GB, free: 9.715 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.002925/0.4428, allocations: 3.536 MB / 0.6106 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.4433, allocations: 182.4 kB / 0.6108 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.4434, allocations: 71.42 kB / 0.6108 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06108/0.5045, allocations: 32.12 MB / 0.6422 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.5046, allocations: 39.12 kB / 0.6422 GB, free: 1.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.374e-06/0.5046, allocations: 0 / 0.6422 GB, free: 1.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.00125/0.5058, allocations: 360.4 kB / 0.6426 GB, free: 1.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.5059, allocations: 132.5 kB / 0.6427 GB, free: 1.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008548/0.5068, allocations: 0.7317 MB / 0.6434 GB, free: 372 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.5068, allocations: 29.7 kB / 0.6435 GB, free: 336 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.5071, allocations: 351.9 kB / 0.6438 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.5071, allocations: 43.39 kB / 0.6438 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.5072, allocations: 49.69 kB / 0.6439 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.5073, allocations: 318 kB / 0.6442 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.5075, allocations: 56.78 kB / 0.6442 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.5076, allocations: 130.2 kB / 0.6444 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.5079, allocations: 198.8 kB / 0.6446 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5079, allocations: 9.5 kB / 0.6446 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005091/0.5084, allocations: 284.4 kB / 0.6448 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5084, allocations: 11.94 kB / 0.6448 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5085, allocations: 4 kB / 0.6449 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5085, allocations: 4 kB / 0.6449 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.5088, allocations: 56.14 kB / 0.6449 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.5088, allocations: 9.562 kB / 0.6449 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.5092, allocations: 47.34 kB / 0.645 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.5092, allocations: 11.98 kB / 0.645 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002063/0.5095, allocations: 164.1 kB / 0.6451 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001523/0.5096, allocations: 179.8 kB / 0.6453 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000257/0.5099, allocations: 247.4 kB / 0.6455 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.5099, allocations: 4 kB / 0.6455 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004554/0.5104, allocations: 292.2 kB / 0.6458 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.5104, allocations: 11.91 kB / 0.6458 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5104, allocations: 4 kB / 0.6458 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.044e-06/0.5104, allocations: 8.719 kB / 0.6458 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.5106, allocations: 51.91 kB / 0.6459 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.5106, allocations: 15.94 kB / 0.6459 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.511, allocations: 20.45 kB / 0.6459 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.511, allocations: 12 kB / 0.6459 GB, free: 13.54 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.0001156/0.5112, allocations: 200.1 kB / 0.6461 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.5113, allocations: 79.06 kB / 0.6462 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005851/0.5119, allocations: 0.4973 MB / 0.6467 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5119, allocations: 8.375 kB / 0.6467 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.512, allocations: 0.625 kB / 0.6467 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.512, allocations: 3.938 kB / 0.6467 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007689/0.5127, allocations: 0.6128 MB / 0.6473 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.5128, allocations: 4 kB / 0.6473 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.805e-05/0.5128, allocations: 24.84 kB / 0.6473 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5129, allocations: 0 / 0.6473 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.5129, allocations: 11.98 kB / 0.6473 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5129, allocations: 0 / 0.6473 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5129, allocations: 3.938 kB / 0.6473 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.5133, allocations: 0.5061 MB / 0.6478 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.5134, allocations: 148.2 kB / 0.648 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5136, allocations: 37.95 kB / 0.648 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.5139, allocations: 4 kB / 0.648 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.514, allocations: 7.984 kB / 0.648 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.514, allocations: 8 kB / 0.648 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000847/0.5148, allocations: 0.7344 MB / 0.6488 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5148, allocations: 0 / 0.6488 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002669/0.5175, allocations: 1.046 MB / 0.6498 GB, free: 9.504 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.004308/0.5218, allocations: 1.929 MB / 0.6517 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004537/0.5223, allocations: 209.3 kB / 0.6519 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5223, allocations: 0 / 0.6519 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-05/0.5224, allocations: 35.92 kB / 0.6519 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.5248, allocations: 462.3 kB / 0.6523 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008009/0.5328, allocations: 6.02 MB / 0.6582 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.5333, allocations: 0.9291 MB / 0.6591 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005585/0.5338, allocations: 293.1 kB / 0.6594 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.5342, allocations: 299.3 kB / 0.6597 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of SimCode: time 1.934e-06/0.5342, allocations: 0 / 0.6597 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0792/0.6134, allocations: 48.54 MB / 0.7071 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.75, allocations: 8.062 kB / 0.7071 GB, free: 14.42 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1)