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.001414/0.001414, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.741/1.741, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0009583/0.0009586, allocations: 100.4 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5354/0.5354, allocations: 48.78 MB / 369 MB, free: 47.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1528, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.575/7.728, allocations: 2.866 GB / 3.355 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/7.728, allocations: 86.58 kB / 3.355 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.651/9.379, allocations: 433.3 MB / 3.778 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.923e-06/9.379, allocations: 0 / 3.778 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001535/9.379, allocations: 24.92 kB / 3.778 GB, free: 59.45 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.01205/9.391, allocations: 1.535 MB / 3.779 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.545e-05/9.392, allocations: 10.78 kB / 3.779 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/9.393, allocations: 129.1 kB / 3.78 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/9.395, allocations: 0.6336 MB / 3.78 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/9.395, allocations: 39.75 kB / 3.78 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/9.395, allocations: 51.91 kB / 3.78 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/9.399, allocations: 0.9741 MB / 3.781 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/9.399, allocations: 2.5 kB / 3.781 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/9.399, allocations: 26.75 kB / 3.781 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/9.399, allocations: 16.06 kB / 3.781 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/9.403, allocations: 0.8877 MB / 3.782 GB, free: 58.13 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.005911/9.409, allocations: 3.23 MB / 3.785 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/9.411, allocations: 416.7 kB / 3.786 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/9.411, allocations: 219.7 kB / 3.786 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05432/9.466, allocations: 31.87 MB / 3.817 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/9.466, allocations: 39.48 kB / 3.817 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009664/9.467, allocations: 135.7 kB / 3.817 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/9.467, allocations: 0 / 3.817 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.008263/9.475, allocations: 1.915 MB / 3.819 GB, free: 36.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/9.475, allocations: 58.88 kB / 3.819 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/9.476, allocations: 0.6119 MB / 3.82 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/9.476, allocations: 33.02 kB / 3.82 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/9.476, allocations: 344.7 kB / 3.82 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/9.476, allocations: 107.7 kB / 3.82 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/9.476, allocations: 6.312 kB / 3.82 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.857e-05/9.476, allocations: 322.5 kB / 3.82 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/9.477, allocations: 158.7 kB / 3.821 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/9.477, allocations: 211.5 kB / 3.821 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/9.478, allocations: 387.9 kB / 3.821 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/9.478, allocations: 0 / 3.821 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001176/9.479, allocations: 0.6287 MB / 3.822 GB, free: 35.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/9.479, allocations: 129.8 kB / 3.822 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/9.479, allocations: 0 / 3.822 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00661/9.485, allocations: 1.082 MB / 3.823 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/9.486, allocations: 58.27 kB / 3.823 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/9.487, allocations: 0.9319 MB / 3.824 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/9.488, allocations: 53.98 kB / 3.824 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/9.488, allocations: 18.53 kB / 3.824 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/9.488, allocations: 7.906 kB / 3.824 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/9.489, allocations: 457.6 kB / 3.824 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/9.489, allocations: 10.28 kB / 3.824 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/9.489, allocations: 81.72 kB / 3.825 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/9.49, allocations: 96.84 kB / 3.825 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/9.491, allocations: 1.47 MB / 3.826 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/9.491, allocations: 56.78 kB / 3.826 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/9.491, allocations: 19.38 kB / 3.826 GB, free: 33.39 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 () * Number of clocked 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.0003615/9.492, allocations: 239.3 kB / 3.826 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/9.492, allocations: 73.31 kB / 3.826 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/9.495, allocations: 2.151 MB / 3.829 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/9.495, allocations: 21.77 kB / 3.829 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/9.495, allocations: 0 / 3.829 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/9.495, allocations: 3.516 kB / 3.829 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/9.496, allocations: 0.9307 MB / 3.829 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/9.496, allocations: 2.031 kB / 3.829 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/9.496, allocations: 51.66 kB / 3.829 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004623/9.501, allocations: 2.702 MB / 3.832 GB, free: 32.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/9.501, allocations: 18.19 kB / 3.832 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/9.503, allocations: 2.046 MB / 3.834 GB, free: 32.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/9.503, allocations: 0 / 3.834 GB, free: 32.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/9.505, allocations: 1.861 MB / 3.836 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/9.506, allocations: 184.5 kB / 3.836 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/9.506, allocations: 14.06 kB / 3.836 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/9.507, allocations: 50.39 kB / 3.836 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/9.507, allocations: 35.77 kB / 3.836 GB, free: 31.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/9.507, allocations: 17.45 kB / 3.836 GB, free: 31.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007012/9.508, allocations: 438.1 kB / 3.837 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/9.508, allocations: 0 / 3.837 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005261/9.513, allocations: 1.145 MB / 3.838 GB, free: 30.69 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 () * Number of clocked 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.005683/9.519, allocations: 1.52 MB / 3.839 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00225/9.521, allocations: 0.9453 MB / 3.84 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/9.521, allocations: 0 / 3.84 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008551/9.522, allocations: 0.4922 MB / 3.841 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/9.524, allocations: 411.1 kB / 3.841 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/9.526, allocations: 1.897 MB / 3.843 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/9.527, allocations: 0.9938 MB / 3.844 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005738/9.527, allocations: 270.9 kB / 3.844 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/9.527, allocations: 45.28 kB / 3.844 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/9.527, allocations: 3.188 kB / 3.844 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.05385/9.581, allocations: 43.64 MB / 3.887 GB, free: 8.98 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)