Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",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.002335/0.002335, allocations: 180.2 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.025/2.025, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.00121/0.00121, allocations: 88.09 kB / 270.8 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6338/0.6338, allocations: 48.77 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005018, allocations: 12 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1987, allocations: 60.23 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.588/8.786, allocations: 2.887 GB / 3.374 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/8.787, allocations: 84.16 kB / 3.374 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.054/9.841, allocations: 281.7 MB / 3.649 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.472e-06/9.841, allocations: 3.984 kB / 3.649 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.363e-05/9.841, allocations: 24.06 kB / 3.649 GB, free: 61.18 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.008061/9.849, allocations: 1.165 MB / 3.65 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.229e-05/9.849, allocations: 8.031 kB / 3.65 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002689/9.85, allocations: 71.39 kB / 3.65 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000443/9.85, allocations: 72.53 kB / 3.651 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009449/9.851, allocations: 392.8 kB / 3.651 GB, free: 59.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/9.851, allocations: 28.59 kB / 3.651 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/9.851, allocations: 35.95 kB / 3.651 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/9.852, allocations: 0.5024 MB / 3.651 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/9.852, allocations: 3.938 kB / 3.651 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/9.852, allocations: 16 kB / 3.652 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/9.852, allocations: 11.98 kB / 3.652 GB, free: 58.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/9.854, allocations: 387.6 kB / 3.652 GB, free: 58.35 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.002464/9.856, allocations: 2.009 MB / 3.654 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/9.857, allocations: 337.1 kB / 3.654 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06091/9.918, allocations: 31.98 MB / 3.685 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/9.918, allocations: 46.5 kB / 3.685 GB, free: 20 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 4.919e-06/9.918, allocations: 0 / 3.685 GB, free: 20 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.002953/9.921, allocations: 448.8 kB / 3.686 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/9.922, allocations: 77.11 kB / 3.686 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/9.922, allocations: 381.2 kB / 3.686 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/9.922, allocations: 29.7 kB / 3.686 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/9.923, allocations: 235.8 kB / 3.687 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/9.923, allocations: 51.2 kB / 3.687 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/9.923, allocations: 4 kB / 3.687 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001176/9.923, allocations: 354.8 kB / 3.687 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/9.923, allocations: 99.92 kB / 3.687 GB, free: 18.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/9.924, allocations: 169.1 kB / 3.687 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/9.924, allocations: 103.9 kB / 3.687 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/9.924, allocations: 0 / 3.687 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001523/9.926, allocations: 341.4 kB / 3.688 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003278/9.926, allocations: 0.7939 MB / 3.688 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/9.926, allocations: 0 / 3.688 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/9.926, allocations: 4 kB / 3.688 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/9.927, allocations: 71.88 kB / 3.688 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/9.927, allocations: 7.938 kB / 3.688 GB, free: 16.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006933/9.927, allocations: 67.5 kB / 3.689 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/9.928, allocations: 12 kB / 3.689 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/9.928, allocations: 7.953 kB / 3.689 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00102/9.929, allocations: 259.8 kB / 3.689 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/9.929, allocations: 4 kB / 3.689 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/9.929, allocations: 4 kB / 3.689 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/9.929, allocations: 67.89 kB / 3.689 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/9.929, allocations: 8.062 kB / 3.689 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/9.93, allocations: 51.66 kB / 3.689 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/9.93, allocations: 15.98 kB / 3.689 GB, free: 16.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0003027/9.93, allocations: 229 kB / 3.689 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/9.93, allocations: 47.39 kB / 3.689 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/9.932, allocations: 476.9 kB / 3.69 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/9.932, allocations: 96 / 3.69 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/9.932, allocations: 3.938 kB / 3.69 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/9.932, allocations: 4 kB / 3.69 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000932/9.933, allocations: 448.8 kB / 3.69 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/9.933, allocations: 4 kB / 3.69 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/9.933, allocations: 59.95 kB / 3.69 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/9.933, allocations: 0 / 3.69 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/9.933, allocations: 15.94 kB / 3.69 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/9.933, allocations: 0 / 3.69 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/9.933, allocations: 0 / 3.69 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/9.935, allocations: 483.6 kB / 3.691 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/9.935, allocations: 168.2 kB / 3.691 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/9.935, allocations: 8 kB / 3.691 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/9.936, allocations: 39.83 kB / 3.691 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/9.936, allocations: 19.92 kB / 3.691 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/9.936, allocations: 7.984 kB / 3.691 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000704/9.937, allocations: 402.8 kB / 3.691 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/9.937, allocations: 0 / 3.691 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006631/9.944, allocations: 0.9639 MB / 3.692 GB, free: 12.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.01275/9.956, allocations: 2.254 MB / 3.694 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002327/9.959, allocations: 388.7 kB / 3.695 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/9.959, allocations: 0 / 3.695 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006377/9.959, allocations: 124.2 kB / 3.695 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/9.962, allocations: 225.5 kB / 3.695 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007009/9.969, allocations: 2.792 MB / 3.698 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/9.969, allocations: 0.8389 MB / 3.699 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007562/9.97, allocations: 166 kB / 3.699 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/9.97, allocations: 179.4 kB / 3.699 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/9.97, allocations: 5.125 kB / 3.699 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4967/10.47, allocations: 35.57 MB / 3.734 GB, free: 73.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/10.47, allocations: 172.3 kB / 3.734 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/13.9, allocations: 0 / 3.734 GB, free: 73.32 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)