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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.002722/0.002722, allocations: 180.6 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000998/0.0009978, allocations: 96.14 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.611/0.611, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.189, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.521/8.71, allocations: 2.865 GB / 3.353 GB, free: 161 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/8.711, allocations: 81.12 kB / 3.353 GB, free: 161 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.842/10.55, allocations: 462.7 MB / 3.805 GB, free: 57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/10.55, allocations: 0 / 3.805 GB, free: 57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.384e-05/10.55, allocations: 32.98 kB / 3.805 GB, free: 56.99 MB / 0.5105 GB 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.006192/10.56, allocations: 1.426 MB / 3.806 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/10.56, allocations: 7 kB / 3.806 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/10.56, allocations: 106 kB / 3.806 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/10.56, allocations: 123.6 kB / 3.806 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/10.56, allocations: 0.5501 MB / 3.807 GB, free: 55.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/10.56, allocations: 39.16 kB / 3.807 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/10.56, allocations: 48.78 kB / 3.807 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/10.56, allocations: 0.7675 MB / 3.808 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/10.56, allocations: 9.203 kB / 3.808 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/10.56, allocations: 29.69 kB / 3.808 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/10.56, allocations: 14.03 kB / 3.808 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/10.56, allocations: 342.8 kB / 3.808 GB, free: 54.94 MB / 0.5105 GB 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.003095/10.57, allocations: 3.351 MB / 3.811 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/10.57, allocations: 182.9 kB / 3.811 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05815/10.62, allocations: 31.86 MB / 3.843 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/10.62, allocations: 42.52 kB / 3.843 GB, free: 31.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 3.006e-06/10.62, allocations: 0 / 3.843 GB, free: 31.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.001484/10.63, allocations: 358.4 kB / 3.843 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/10.63, allocations: 132.5 kB / 3.843 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/10.63, allocations: 0.6231 MB / 3.844 GB, free: 30.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/10.63, allocations: 33.27 kB / 3.844 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/10.63, allocations: 351.8 kB / 3.844 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/10.63, allocations: 44.75 kB / 3.844 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/10.63, allocations: 8 kB / 3.844 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/10.63, allocations: 317 kB / 3.844 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/10.63, allocations: 41.17 kB / 3.844 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/10.63, allocations: 119 kB / 3.845 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/10.63, allocations: 58.73 kB / 3.845 GB, free: 30.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/10.63, allocations: 3.594 kB / 3.845 GB, free: 30.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003951/10.63, allocations: 271.9 kB / 3.845 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003524/10.63, allocations: 1.045 MB / 3.846 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/10.63, allocations: 3.562 kB / 3.846 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/10.63, allocations: 3.656 kB / 3.846 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/10.63, allocations: 60.19 kB / 3.846 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/10.63, allocations: 7.609 kB / 3.846 GB, free: 28.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/10.63, allocations: 64.58 kB / 3.846 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/10.63, allocations: 10.94 kB / 3.846 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/10.63, allocations: 3.281 kB / 3.846 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000252/10.63, allocations: 162 kB / 3.846 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/10.63, allocations: 3.875 kB / 3.846 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-06/10.63, allocations: 3.844 kB / 3.846 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/10.63, allocations: 45.72 kB / 3.846 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/10.63, allocations: 11.45 kB / 3.846 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/10.63, allocations: 61.52 kB / 3.846 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/10.63, allocations: 11.19 kB / 3.846 GB, free: 28.73 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002428/10.63, allocations: 244.7 kB / 3.847 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/10.63, allocations: 78.84 kB / 3.847 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/10.63, allocations: 0.5156 MB / 3.847 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/10.63, allocations: 3.562 kB / 3.847 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/10.63, allocations: 0 / 3.847 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/10.63, allocations: 7.281 kB / 3.847 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007497/10.63, allocations: 0.6105 MB / 3.848 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/10.63, allocations: 0 / 3.848 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/10.63, allocations: 23.64 kB / 3.848 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/10.63, allocations: 0 / 3.848 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/10.63, allocations: 15.11 kB / 3.848 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/10.63, allocations: 0 / 3.848 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/10.63, allocations: 7.844 kB / 3.848 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/10.63, allocations: 0.5383 MB / 3.848 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/10.63, allocations: 238.7 kB / 3.849 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/10.63, allocations: 11.83 kB / 3.849 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/10.63, allocations: 15.14 kB / 3.849 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/10.63, allocations: 7.234 kB / 3.849 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/10.63, allocations: 7.375 kB / 3.849 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000763/10.63, allocations: 0.7164 MB / 3.849 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/10.63, allocations: 0 / 3.849 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005842/10.64, allocations: 1.107 MB / 3.85 GB, free: 26.66 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007246/10.65, allocations: 2.74 MB / 3.853 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004781/10.65, allocations: 188.7 kB / 3.853 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/10.65, allocations: 0 / 3.853 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/10.65, allocations: 40.98 kB / 3.853 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/10.65, allocations: 455.2 kB / 3.854 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/10.66, allocations: 3.808 MB / 3.857 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/10.66, allocations: 0.9503 MB / 3.858 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007085/10.66, allocations: 291.4 kB / 3.859 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/10.66, allocations: 299.3 kB / 3.859 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/10.66, allocations: 0 / 3.859 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/10.76, allocations: 48.78 MB / 3.907 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/10.76, allocations: 169.3 kB / 3.907 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.799/14.56, allocations: 64 / 3.907 GB, free: 1.914 MB / 0.5261 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/linux/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)