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.00103/0.00103, allocations: 100.4 kB / 16.94 MB, free: 5.844 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.0009304/0.0009304, allocations: 187.3 kB / 17.87 MB, free: 5.156 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.156/1.156, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2347/0.2347, allocations: 48.84 MB / 319.9 MB, free: 11.09 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.001278/0.001278, allocations: 66.5 kB / 390.2 MB, free: 48.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07345/0.07474, allocations: 59.15 MB / 449.4 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.06285/0.1376, allocations: 77.62 MB / 0.5147 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.1496, allocations: 11.09 MB / 0.5255 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006356/0.1502, allocations: 23.81 kB / 0.5255 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009882/0.1512, allocations: 405.1 kB / 0.5259 GB, free: 212 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.169/0.3203, allocations: 0.495 MB / 0.5264 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01271/0.333, allocations: 5.855 MB / 0.5321 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.3347, allocations: 1.376 MB / 0.5334 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.3352, allocations: 401.7 kB / 0.5338 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.3357, allocations: 486.4 kB / 0.5343 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.3362, allocations: 477.9 kB / 0.5347 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.3363, allocations: 42.72 kB / 0.5348 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.3464, allocations: 6.286 MB / 0.5409 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.3466, allocations: 120 kB / 0.541 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.3471, allocations: 397.8 kB / 0.5414 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.353, allocations: 4.118 MB / 0.5454 GB, free: 5.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.353, allocations: 1.281 kB / 0.5454 GB, free: 5.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.353, allocations: 4 kB / 0.5454 GB, free: 5.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.3531, allocations: 0 / 0.5454 GB, free: 5.977 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00306/0.3561, allocations: 1.479 MB / 0.5469 GB, free: 5.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3562, allocations: 13.7 kB / 0.5469 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.3563, allocations: 91.14 kB / 0.547 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.3566, allocations: 119.9 kB / 0.5471 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.3571, allocations: 0.5014 MB / 0.5476 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.3571, allocations: 39.77 kB / 0.5476 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.3572, allocations: 52.47 kB / 0.5477 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008784/0.3581, allocations: 0.6145 MB / 0.5483 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3581, allocations: 4.688 kB / 0.5483 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.3581, allocations: 23.34 kB / 0.5483 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.3581, allocations: 13.38 kB / 0.5483 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.3588, allocations: 358.5 kB / 0.5487 GB, free: 4.57 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.002211/0.361, allocations: 3.54 MB / 0.5521 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.3615, allocations: 188 kB / 0.5523 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.3616, allocations: 60.5 kB / 0.5524 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05203/0.4136, allocations: 31.98 MB / 0.5836 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.4137, allocations: 36.59 kB / 0.5836 GB, free: 9.391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.4137, allocations: 3.938 kB / 0.5836 GB, free: 9.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001189/0.4149, allocations: 368.4 kB / 0.584 GB, free: 9.254 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.4149, allocations: 131 kB / 0.5841 GB, free: 9.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.4156, allocations: 0.7246 MB / 0.5848 GB, free: 8.871 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.4157, allocations: 29.7 kB / 0.5848 GB, free: 8.836 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.4159, allocations: 360.9 kB / 0.5852 GB, free: 8.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.4159, allocations: 36.3 kB / 0.5852 GB, free: 8.664 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.416, allocations: 58.75 kB / 0.5853 GB, free: 8.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.4161, allocations: 316.5 kB / 0.5856 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.4162, allocations: 55.33 kB / 0.5856 GB, free: 8.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4163, allocations: 130.7 kB / 0.5858 GB, free: 8.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.4166, allocations: 190.3 kB / 0.5859 GB, free: 8.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4166, allocations: 6.156 kB / 0.5859 GB, free: 8.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004097/0.417, allocations: 291.7 kB / 0.5862 GB, free: 8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.417, allocations: 5.656 kB / 0.5862 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.417, allocations: 2.094 kB / 0.5862 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.417, allocations: 5.281 kB / 0.5862 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.4173, allocations: 59.67 kB / 0.5863 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4173, allocations: 3.938 kB / 0.5863 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.4177, allocations: 50.44 kB / 0.5863 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.4178, allocations: 15.61 kB / 0.5864 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001756/0.4179, allocations: 168.4 kB / 0.5865 GB, free: 7.859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001357/0.4181, allocations: 176.4 kB / 0.5867 GB, free: 7.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002235/0.4183, allocations: 241.4 kB / 0.5869 GB, free: 7.473 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.4183, allocations: 2.625 kB / 0.5869 GB, free: 7.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003507/0.4187, allocations: 295.6 kB / 0.5872 GB, free: 7.379 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.4187, allocations: 7.531 kB / 0.5872 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.4187, allocations: 3.812 kB / 0.5872 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/0.4187, allocations: 7.625 kB / 0.5872 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.4189, allocations: 57.09 kB / 0.5873 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4189, allocations: 11.86 kB / 0.5873 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.4192, allocations: 19.38 kB / 0.5873 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4192, allocations: 13.5 kB / 0.5873 GB, free: 7.359 MB / 446.1 MB 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 9.561e-05/0.4193, allocations: 200.4 kB / 0.5875 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.4195, allocations: 78.28 kB / 0.5876 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/0.42, allocations: 0.5012 MB / 0.5881 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.42, allocations: 0 / 0.5881 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.42, allocations: 5.125 kB / 0.5881 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.42, allocations: 3.984 kB / 0.5881 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.4207, allocations: 0.6119 MB / 0.5887 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4207, allocations: 4 kB / 0.5887 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.4208, allocations: 25.64 kB / 0.5887 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.4208, allocations: 4 kB / 0.5887 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4208, allocations: 7.172 kB / 0.5887 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4208, allocations: 4.812 kB / 0.5887 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4208, allocations: 3.938 kB / 0.5887 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.4212, allocations: 0.511 MB / 0.5892 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4213, allocations: 147.3 kB / 0.5894 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4214, allocations: 35.22 kB / 0.5894 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.4218, allocations: 4 kB / 0.5894 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.4218, allocations: 7.984 kB / 0.5894 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.4218, allocations: 8.938 kB / 0.5894 GB, free: 5.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00073/0.4225, allocations: 0.7274 MB / 0.5901 GB, free: 5.043 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4225, allocations: 0 / 0.5901 GB, free: 5.043 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003125/0.4257, allocations: 1.04 MB / 0.5911 GB, free: 4.043 MB / 446.1 MB 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.003303/0.429, allocations: 1.927 MB / 0.593 GB, free: 2.227 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003515/0.4293, allocations: 215.8 kB / 0.5932 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4293, allocations: 0 / 0.5932 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.4294, allocations: 32.33 kB / 0.5933 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.4315, allocations: 470.7 kB / 0.5937 GB, free: 1.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0072/0.4387, allocations: 6.504 MB / 0.6001 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.4391, allocations: 0.933 MB / 0.601 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004719/0.4396, allocations: 283.9 kB / 0.6012 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.4399, allocations: 301.5 kB / 0.6015 GB, free: 10.59 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4399, allocations: 3.375 kB / 0.6015 GB, free: 10.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06705/0.5069, allocations: 47.96 MB / 0.6484 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.686/9.193, allocations: 0 / 0.6484 GB, free: 10.64 MB / 0.4981 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)