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.001066/0.001066, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008654/0.0008654, allocations: 87.33 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5166/0.5166, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.839e-05, allocations: 4 kB / 425.4 MB, free: 8.145 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1457, allocations: 60.26 MB / 485.6 MB, free: 11.75 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.623/8.769, allocations: 2.865 GB / 3.339 GB, free: 131.2 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/8.77, allocations: 77.34 kB / 3.339 GB, free: 131.2 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.648/10.42, allocations: 457.1 MB / 3.785 GB, free: 52.81 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.112e-06/10.42, allocations: 0 / 3.785 GB, free: 52.81 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.215e-05/10.42, allocations: 28.88 kB / 3.785 GB, free: 52.8 MB / 0.5108 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.004724/10.42, allocations: 1.333 MB / 3.787 GB, free: 52 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/10.42, allocations: 11.25 kB / 3.787 GB, free: 52 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005273/10.42, allocations: 118.6 kB / 3.787 GB, free: 51.95 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/10.42, allocations: 0.5547 MB / 3.787 GB, free: 51.59 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/10.42, allocations: 19.62 kB / 3.787 GB, free: 51.59 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/10.42, allocations: 31.23 kB / 3.787 GB, free: 51.59 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004451/10.42, allocations: 296.4 kB / 3.788 GB, free: 51.48 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/10.42, allocations: 0.6184 MB / 3.788 GB, free: 50.97 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/10.42, allocations: 11.3 kB / 3.788 GB, free: 50.96 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/10.42, allocations: 2.938 kB / 3.788 GB, free: 50.96 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/10.42, allocations: 12.62 kB / 3.788 GB, free: 50.96 MB / 0.5108 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.5872/11.01, allocations: 131 MB / 3.916 GB, free: 47.65 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 9.4e-05/11.01, allocations: 89.47 kB / 3.916 GB, free: 47.55 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/11.01, allocations: 35.34 kB / 3.916 GB, free: 47.52 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/11.01, allocations: 8.656 kB / 3.916 GB, free: 47.52 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/11.01, allocations: 43.06 kB / 3.917 GB, free: 47.48 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=4): time 2.995e-06/11.01, allocations: 0 / 3.917 GB, free: 47.48 MB / 0.5265 GB Notification: Performance of matching and sorting (n=4): time 0.0008841/11.01, allocations: 219 kB / 3.917 GB, free: 47.45 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/11.01, allocations: 128.5 kB / 3.917 GB, free: 47.29 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/11.01, allocations: 436.1 kB / 3.917 GB, free: 47.18 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/11.01, allocations: 25.7 kB / 3.917 GB, free: 47.15 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/11.01, allocations: 396 kB / 3.918 GB, free: 46.99 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/11.01, allocations: 18.34 kB / 3.918 GB, free: 46.98 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/11.01, allocations: 0 / 3.918 GB, free: 46.98 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/11.01, allocations: 360.1 kB / 3.918 GB, free: 46.67 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/11.01, allocations: 48.5 kB / 3.918 GB, free: 46.67 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/11.01, allocations: 120.2 kB / 3.918 GB, free: 46.57 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/11.01, allocations: 78.97 kB / 3.918 GB, free: 46.57 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/11.01, allocations: 2.062 kB / 3.918 GB, free: 46.57 MB / 0.5265 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005734/11.02, allocations: 260.8 kB / 3.919 GB, free: 46.51 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002276/11.02, allocations: 1.049 MB / 3.92 GB, free: 45.41 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/11.02, allocations: 3.281 kB / 3.92 GB, free: 45.41 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/11.02, allocations: 7.906 kB / 3.92 GB, free: 45.41 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/11.02, allocations: 56.97 kB / 3.92 GB, free: 45.41 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/11.02, allocations: 4.031 kB / 3.92 GB, free: 45.41 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/11.02, allocations: 26.34 kB / 3.92 GB, free: 45.4 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/11.02, allocations: 16.09 kB / 3.92 GB, free: 45.4 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/11.02, allocations: 7.188 kB / 3.92 GB, free: 45.4 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003088/11.02, allocations: 138.4 kB / 3.92 GB, free: 45.4 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/11.02, allocations: 4.25 kB / 3.92 GB, free: 45.4 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/11.02, allocations: 2.938 kB / 3.92 GB, free: 45.4 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/11.02, allocations: 55.53 kB / 3.92 GB, free: 45.4 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/11.02, allocations: 5.344 kB / 3.92 GB, free: 45.4 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/11.02, allocations: 29.89 kB / 3.92 GB, free: 45.39 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/11.02, allocations: 10.69 kB / 3.92 GB, free: 45.39 MB / 0.5265 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 6.384e-05/11.02, allocations: 110.9 kB / 3.92 GB, free: 45.28 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002952/11.02, allocations: 127.6 kB / 3.92 GB, free: 45.23 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/11.02, allocations: 54.03 kB / 3.92 GB, free: 45.2 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/11.02, allocations: 141.2 kB / 3.92 GB, free: 45.15 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/11.02, allocations: 7.109 kB / 3.92 GB, free: 45.14 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/11.02, allocations: 0 / 3.92 GB, free: 45.14 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/11.02, allocations: 3.156 kB / 3.92 GB, free: 45.14 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/11.02, allocations: 391.6 kB / 3.921 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/11.02, allocations: 0 / 3.921 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/11.02, allocations: 6.594 kB / 3.921 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/11.02, allocations: 8.922 kB / 3.921 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/11.02, allocations: 0 / 3.921 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/11.02, allocations: 3.688 kB / 3.921 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/11.02, allocations: 4.266 kB / 3.921 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/11.02, allocations: 468.3 kB / 3.921 GB, free: 44.55 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/11.02, allocations: 132.6 kB / 3.921 GB, free: 44.43 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/11.02, allocations: 0 / 3.921 GB, free: 44.43 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/11.02, allocations: 20.14 kB / 3.921 GB, free: 44.42 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/11.02, allocations: 0.75 kB / 3.921 GB, free: 44.42 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/11.02, allocations: 4.781 kB / 3.921 GB, free: 44.42 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0003056/11.02, allocations: 350.9 kB / 3.922 GB, free: 44.33 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.7e-07/11.02, allocations: 0 / 3.922 GB, free: 44.33 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.00447/11.02, allocations: 1.083 MB / 3.923 GB, free: 44.3 MB / 0.5265 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 (4): * Single equations (assignments): 4 * 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.005545/11.03, allocations: 2.871 MB / 3.925 GB, free: 43.02 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0003842/11.03, allocations: 175.4 kB / 3.926 GB, free: 43.01 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/11.03, allocations: 0 / 3.926 GB, free: 43.01 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/11.03, allocations: 15.19 kB / 3.926 GB, free: 43.01 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/11.03, allocations: 232.3 kB / 3.926 GB, free: 43 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/11.03, allocations: 0.9679 MB / 3.927 GB, free: 42.71 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/11.03, allocations: 0.9021 MB / 3.928 GB, free: 42 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.0006822/11.04, allocations: 402.4 kB / 3.928 GB, free: 41.97 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/11.04, allocations: 227.8 kB / 3.928 GB, free: 41.97 MB / 0.5265 GB Notification: Performance of SimCode: time 9.61e-07/11.04, allocations: 0 / 3.928 GB, free: 41.97 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07646/11.11, allocations: 35.01 MB / 3.963 GB, free: 40.03 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/11.11, allocations: 126.4 kB / 3.963 GB, free: 39.84 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.098/14.21, allocations: 0 / 3.963 GB, free: 39.84 MB / 0.5265 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)