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.001115/0.001115, 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.998/1.998, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009002/0.0009004, allocations: 82.72 kB / 267.5 MB, free: 14.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3741/0.3741, allocations: 48.78 MB / 364.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.284e-05, allocations: 0 / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1585, allocations: 60.25 MB / 492.7 MB, free: 4.363 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.029/9.188, allocations: 2.866 GB / 3.347 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/9.188, allocations: 77.66 kB / 3.347 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.796/10.98, allocations: 431.6 MB / 3.769 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.274e-06/10.98, allocations: 0 / 3.769 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.2e-05/10.98, allocations: 21.08 kB / 3.769 GB, free: 57.46 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.008318/10.99, allocations: 1.437 MB / 3.77 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/10.99, allocations: 7.812 kB / 3.77 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006081/10.99, allocations: 129.8 kB / 3.77 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/10.99, allocations: 0.5971 MB / 3.771 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/10.99, allocations: 40.86 kB / 3.771 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/10.99, allocations: 50.61 kB / 3.771 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/11, allocations: 0.9369 MB / 3.772 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/11, allocations: 6.875 kB / 3.772 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/11, allocations: 25.08 kB / 3.772 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/11, allocations: 14.34 kB / 3.772 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/11, allocations: 0.8049 MB / 3.773 GB, free: 56.24 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.003499/11, allocations: 3.214 MB / 3.776 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008851/11, allocations: 389.8 kB / 3.776 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/11, allocations: 164.6 kB / 3.776 GB, free: 54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05999/11.06, allocations: 31.98 MB / 3.807 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/11.06, allocations: 36.83 kB / 3.808 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001185/11.06, allocations: 127.2 kB / 3.808 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 9.688e-06/11.06, allocations: 0 / 3.808 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.003357/11.07, allocations: 0.8076 MB / 3.808 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/11.07, allocations: 58.25 kB / 3.808 GB, free: 34.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/11.07, allocations: 0.5347 MB / 3.809 GB, free: 34.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/11.07, allocations: 29.52 kB / 3.809 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/11.07, allocations: 350.5 kB / 3.809 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/11.07, allocations: 100.1 kB / 3.809 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/11.07, allocations: 9.531 kB / 3.809 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001035/11.07, allocations: 320.1 kB / 3.81 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/11.07, allocations: 105.2 kB / 3.81 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/11.07, allocations: 157.2 kB / 3.81 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/11.07, allocations: 122.6 kB / 3.81 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/11.07, allocations: 3.656 kB / 3.81 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001182/11.07, allocations: 0.5181 MB / 3.811 GB, free: 33.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/11.07, allocations: 0.5312 MB / 3.811 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/11.07, allocations: 0 / 3.811 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006445/11.08, allocations: 1.038 MB / 3.812 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/11.08, allocations: 59.92 kB / 3.812 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/11.08, allocations: 0.9252 MB / 3.813 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00088/11.08, allocations: 59.41 kB / 3.813 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/11.08, allocations: 24.73 kB / 3.813 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/11.08, allocations: 3.938 kB / 3.813 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009473/11.08, allocations: 357.6 kB / 3.814 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/11.08, allocations: 1.125 kB / 3.814 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003892/11.08, allocations: 79.14 kB / 3.814 GB, free: 32.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/11.08, allocations: 102.8 kB / 3.814 GB, free: 32.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/11.08, allocations: 1.457 MB / 3.815 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007993/11.09, allocations: 58.89 kB / 3.815 GB, free: 31.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/11.09, allocations: 21.77 kB / 3.815 GB, free: 31.23 MB / 0.5105 GB 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.0001593/11.09, allocations: 116.9 kB / 3.815 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/11.09, allocations: 81.22 kB / 3.815 GB, free: 31.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/11.09, allocations: 2.038 MB / 3.817 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/11.09, allocations: 18.3 kB / 3.817 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/11.09, allocations: 0 / 3.817 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/11.09, allocations: 0 / 3.817 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/11.09, allocations: 0.9368 MB / 3.818 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/11.09, allocations: 0 / 3.818 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/11.09, allocations: 49.94 kB / 3.818 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005433/11.1, allocations: 3.008 MB / 3.821 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/11.1, allocations: 17.2 kB / 3.821 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/11.1, allocations: 2.032 MB / 3.823 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/11.1, allocations: 3.391 kB / 3.823 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/11.1, allocations: 1.755 MB / 3.825 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/11.1, allocations: 189.3 kB / 3.825 GB, free: 29.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/11.1, allocations: 8 kB / 3.825 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/11.1, allocations: 48.98 kB / 3.825 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/11.1, allocations: 41.42 kB / 3.825 GB, free: 29.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/11.1, allocations: 16.95 kB / 3.825 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007605/11.1, allocations: 427.1 kB / 3.826 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/11.1, allocations: 2.375 kB / 3.826 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00782/11.11, allocations: 1.151 MB / 3.827 GB, free: 29 MB / 0.5105 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.009783/11.12, allocations: 1.524 MB / 3.828 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002348/11.12, allocations: 0.7983 MB / 3.829 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/11.12, allocations: 3.594 kB / 3.829 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008581/11.12, allocations: 455 kB / 3.83 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/11.13, allocations: 403.2 kB / 3.83 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/11.13, allocations: 1.157 MB / 3.831 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/11.13, allocations: 1.009 MB / 3.832 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008631/11.13, allocations: 309.2 kB / 3.832 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/11.13, allocations: 35.34 kB / 3.832 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of SimCode: time 9.91e-07/11.13, allocations: 0 / 3.832 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.06346/11.19, allocations: 46.01 MB / 3.877 GB, free: 10.63 MB / 0.5105 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)