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.001083/0.001083, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001029/0.001029, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3815/0.3815, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.762e-05/4.765e-05, allocations: 4 kB / 432.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1531, allocations: 60.26 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.781/8.934, allocations: 2.865 GB / 3.347 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/8.935, allocations: 81.58 kB / 3.347 GB, free: 73.56 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.607/10.54, allocations: 460.7 MB / 3.797 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.184e-06/10.54, allocations: 0 / 3.797 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.146e-05/10.54, allocations: 23.94 kB / 3.797 GB, free: 18.86 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.004988/10.55, allocations: 1.329 MB / 3.798 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/10.55, allocations: 8.031 kB / 3.798 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/10.55, allocations: 90.52 kB / 3.798 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/10.55, allocations: 123.8 kB / 3.798 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/10.55, allocations: 0.5534 MB / 3.799 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/10.55, allocations: 40.94 kB / 3.799 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/10.55, allocations: 48 kB / 3.799 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/10.55, allocations: 0.7736 MB / 3.8 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/10.55, allocations: 0 / 3.8 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/10.55, allocations: 31.94 kB / 3.8 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/10.55, allocations: 19.75 kB / 3.8 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/10.55, allocations: 359.5 kB / 3.8 GB, free: 15.32 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002542/10.55, allocations: 3.34 MB / 3.803 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/10.55, allocations: 202.3 kB / 3.803 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/10.55, allocations: 59.36 kB / 3.803 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3857/10.94, allocations: 31.98 MB / 3.835 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/10.94, allocations: 39.92 kB / 3.835 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/10.94, allocations: 0 / 3.835 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001291/10.94, allocations: 354.3 kB / 3.835 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/10.94, allocations: 139 kB / 3.835 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/10.94, allocations: 0.6211 MB / 3.836 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/10.94, allocations: 30.64 kB / 3.836 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/10.94, allocations: 346.9 kB / 3.836 GB, free: 64.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/10.94, allocations: 44.47 kB / 3.836 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/10.94, allocations: 6.375 kB / 3.836 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/10.94, allocations: 315.8 kB / 3.837 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/10.94, allocations: 44 kB / 3.837 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/10.94, allocations: 110.6 kB / 3.837 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/10.94, allocations: 58.48 kB / 3.837 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/10.94, allocations: 0 / 3.837 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000411/10.94, allocations: 265 kB / 3.837 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/10.94, allocations: 1.051 MB / 3.838 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/10.94, allocations: 5 kB / 3.838 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/10.94, allocations: 5.531 kB / 3.838 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/10.94, allocations: 60.64 kB / 3.838 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/10.94, allocations: 5.188 kB / 3.838 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/10.94, allocations: 59.47 kB / 3.838 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/10.94, allocations: 11.02 kB / 3.838 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/10.94, allocations: 6.875 kB / 3.838 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002678/10.94, allocations: 149.2 kB / 3.838 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/10.94, allocations: 3.719 kB / 3.838 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/10.94, allocations: 3.844 kB / 3.838 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/10.94, allocations: 54.95 kB / 3.838 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/10.94, allocations: 13.88 kB / 3.838 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/10.94, allocations: 54.72 kB / 3.838 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/10.94, allocations: 14.22 kB / 3.838 GB, free: 62.51 MB / 0.5261 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 () * 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 7.147e-05/10.94, allocations: 118.9 kB / 3.839 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/10.94, allocations: 76.75 kB / 3.839 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/10.94, allocations: 0.5188 MB / 3.839 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/10.94, allocations: 3.969 kB / 3.839 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/10.94, allocations: 1.406 kB / 3.839 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/10.94, allocations: 10.36 kB / 3.839 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/10.95, allocations: 0.608 MB / 3.84 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/10.95, allocations: 0 / 3.84 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/10.95, allocations: 23.92 kB / 3.84 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/10.95, allocations: 0 / 3.84 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/10.95, allocations: 7.5 kB / 3.84 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/10.95, allocations: 7.312 kB / 3.84 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/10.95, allocations: 3.875 kB / 3.84 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/10.95, allocations: 0.538 MB / 3.84 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/10.95, allocations: 240.1 kB / 3.841 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.454e-05/10.95, allocations: 4.406 kB / 3.841 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/10.95, allocations: 20.73 kB / 3.841 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/10.95, allocations: 14.11 kB / 3.841 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/10.95, allocations: 8.25 kB / 3.841 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008437/10.95, allocations: 0.6999 MB / 3.841 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/10.95, allocations: 0 / 3.841 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004686/10.95, allocations: 1.106 MB / 3.842 GB, free: 61.34 MB / 0.5261 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 () * 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.007645/10.96, allocations: 2.739 MB / 3.845 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005914/10.96, allocations: 215.7 kB / 3.845 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/10.96, allocations: 0 / 3.845 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.824e-05/10.96, allocations: 41.39 kB / 3.845 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/10.96, allocations: 458.4 kB / 3.846 GB, free: 60.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/10.97, allocations: 1.131 MB / 3.847 GB, free: 59.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/10.97, allocations: 0.9513 MB / 3.848 GB, free: 59.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001191/10.97, allocations: 325.1 kB / 3.848 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/10.97, allocations: 286.2 kB / 3.848 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.412e-06/10.97, allocations: 0 / 3.848 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08713/11.06, allocations: 53.88 MB / 3.901 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/11.06, allocations: 157.4 kB / 3.901 GB, free: 57.06 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.096/15.15, allocations: 2.844 kB / 3.901 GB, free: 57.06 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)