Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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: translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002403/0.002403, allocations: 180.4 kB / 8.345 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.236/2.236, 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.001239/0.00124, allocations: 83.59 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6482/0.6482, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.219e-05, allocations: 4 kB / 425.3 MB, free: 8.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2011, allocations: 60.25 MB / 485.5 MB, free: 11.86 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.873/10.07, allocations: 2.865 GB / 3.339 GB, free: 132.5 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/10.07, allocations: 77.58 kB / 3.339 GB, free: 132.5 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.843/11.92, allocations: 428.1 MB / 3.758 GB, free: 56.73 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.424e-06/11.92, allocations: 0 / 3.758 GB, free: 56.73 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001274/11.92, allocations: 22.61 kB / 3.758 GB, free: 56.72 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.009631/11.93, allocations: 1.439 MB / 3.759 GB, free: 56.02 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/11.93, allocations: 11 kB / 3.759 GB, free: 56.02 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008757/11.93, allocations: 129.8 kB / 3.759 GB, free: 55.98 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/11.93, allocations: 0.6005 MB / 3.76 GB, free: 55.7 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/11.93, allocations: 15.38 kB / 3.76 GB, free: 55.7 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/11.93, allocations: 29.91 kB / 3.76 GB, free: 55.7 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001441/11.93, allocations: 0.7885 MB / 3.761 GB, free: 55.69 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/11.93, allocations: 0.6085 MB / 3.761 GB, free: 55.43 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/11.93, allocations: 6.953 kB / 3.761 GB, free: 55.43 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/11.93, allocations: 3.938 kB / 3.761 GB, free: 55.43 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/11.93, allocations: 11.75 kB / 3.761 GB, free: 55.43 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.003418/11.94, allocations: 3.084 MB / 3.764 GB, free: 53.23 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/11.94, allocations: 294.1 kB / 3.764 GB, free: 53.21 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/11.94, allocations: 160.4 kB / 3.765 GB, free: 53.2 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06203/12, allocations: 31.99 MB / 3.796 GB, free: 33.71 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/12, allocations: 39.69 kB / 3.796 GB, free: 33.67 MB / 0.5108 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001003/12, allocations: 113.1 kB / 3.796 GB, free: 33.65 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=31): time 5.63e-06/12, allocations: 0 / 3.796 GB, free: 33.65 MB / 0.5108 GB Notification: Performance of matching and sorting (n=31): time 0.00327/12, allocations: 0.7257 MB / 3.797 GB, free: 33.42 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/12, allocations: 56.83 kB / 3.797 GB, free: 33.36 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/12, allocations: 390.8 kB / 3.797 GB, free: 33.16 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-05/12, allocations: 28.52 kB / 3.797 GB, free: 33.13 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/12, allocations: 358.7 kB / 3.797 GB, free: 32.85 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/12, allocations: 100 kB / 3.798 GB, free: 32.77 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/12, allocations: 0 / 3.798 GB, free: 32.77 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001264/12, allocations: 367.2 kB / 3.798 GB, free: 32.44 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/12, allocations: 107.8 kB / 3.798 GB, free: 32.39 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/12.01, allocations: 157.4 kB / 3.798 GB, free: 32.29 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/12.01, allocations: 155.2 kB / 3.798 GB, free: 32.24 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/12.01, allocations: 0 / 3.798 GB, free: 32.24 MB / 0.5108 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001296/12.01, allocations: 0.5203 MB / 3.799 GB, free: 32.02 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002467/12.01, allocations: 0.5273 MB / 3.799 GB, free: 31.47 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/12.01, allocations: 0 / 3.799 GB, free: 31.47 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007566/12.01, allocations: 0.9391 MB / 3.8 GB, free: 31.41 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/12.02, allocations: 58.02 kB / 3.8 GB, free: 31.4 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/12.02, allocations: 1.005 MB / 3.801 GB, free: 30.7 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/12.02, allocations: 47.53 kB / 3.801 GB, free: 30.69 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.842e-05/12.02, allocations: 18.31 kB / 3.801 GB, free: 30.69 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/12.02, allocations: 6.812 kB / 3.801 GB, free: 30.69 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001262/12.02, allocations: 340.8 kB / 3.802 GB, free: 30.57 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/12.02, allocations: 3.875 kB / 3.802 GB, free: 30.57 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/12.02, allocations: 82.23 kB / 3.802 GB, free: 30.55 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/12.02, allocations: 95.89 kB / 3.802 GB, free: 30.54 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/12.02, allocations: 1.627 MB / 3.803 GB, free: 29.09 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009705/12.02, allocations: 52.34 kB / 3.803 GB, free: 29.09 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/12.02, allocations: 14.42 kB / 3.804 GB, free: 29.09 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: SourceP2.flange.m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real SourceP1.flange.m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003933/12.03, allocations: 121.8 kB / 3.804 GB, free: 28.97 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/12.03, allocations: 61.75 kB / 3.804 GB, free: 28.95 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00469/12.03, allocations: 1.994 MB / 3.806 GB, free: 28.02 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/12.03, allocations: 25.22 kB / 3.806 GB, free: 28.02 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/12.03, allocations: 2.734 kB / 3.806 GB, free: 28.02 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/12.03, allocations: 3.281 kB / 3.806 GB, free: 28.02 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/12.03, allocations: 0.8239 MB / 3.806 GB, free: 27.57 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/12.03, allocations: 3.75 kB / 3.806 GB, free: 27.57 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/12.03, allocations: 48.33 kB / 3.807 GB, free: 27.57 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006565/12.04, allocations: 2.934 MB / 3.809 GB, free: 27.22 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/12.04, allocations: 2.906 kB / 3.809 GB, free: 27.22 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003737/12.04, allocations: 2.265 MB / 3.812 GB, free: 25.91 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/12.04, allocations: 7.844 kB / 3.812 GB, free: 25.91 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/12.05, allocations: 1.716 MB / 3.813 GB, free: 25.04 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/12.05, allocations: 163.1 kB / 3.813 GB, free: 24.88 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/12.05, allocations: 0 / 3.813 GB, free: 24.88 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008663/12.05, allocations: 49.17 kB / 3.813 GB, free: 24.87 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/12.05, allocations: 31.12 kB / 3.814 GB, free: 24.87 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/12.05, allocations: 19.27 kB / 3.814 GB, free: 24.86 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006116/12.05, allocations: 303.1 kB / 3.814 GB, free: 24.7 MB / 0.5108 GB Notification: Performance of sort global known variables: time 2e-07/12.05, allocations: 5.078 kB / 3.814 GB, free: 24.7 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.00726/12.06, allocations: 1.119 MB / 3.815 GB, free: 24.48 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01098/12.07, allocations: 1.698 MB / 3.817 GB, free: 24.17 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002404/12.07, allocations: 0.7798 MB / 3.817 GB, free: 23.81 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/12.07, allocations: 0 / 3.817 GB, free: 23.81 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/12.07, allocations: 434.1 kB / 3.818 GB, free: 23.63 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/12.07, allocations: 289.7 kB / 3.818 GB, free: 23.59 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/12.08, allocations: 1.123 MB / 3.819 GB, free: 23.07 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/12.08, allocations: 1.014 MB / 3.82 GB, free: 22.37 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.001069/12.08, allocations: 283.3 kB / 3.82 GB, free: 22.36 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/12.08, allocations: 28.09 kB / 3.82 GB, free: 22.35 MB / 0.5108 GB Notification: Performance of SimCode: time 2.034e-06/12.08, allocations: 0 / 3.82 GB, free: 22.35 MB / 0.5108 GB Notification: Performance of Templates: time 0.06274/12.14, allocations: 33.95 MB / 3.854 GB, free: 11.34 MB / 0.5108 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1)