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: translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001775/0.001775, allocations: 176 kB / 17.4 MB, free: 4.293 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.747/1.747, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.000929/0.0009291, allocations: 81.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5028/0.5028, allocations: 48.78 MB / 369 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003908, allocations: 15.98 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.509/7.66, allocations: 2.866 GB / 3.354 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/7.66, allocations: 84.81 kB / 3.354 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.605/9.265, allocations: 462.6 MB / 3.806 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/9.265, allocations: 0 / 3.806 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001238/9.265, allocations: 33.09 kB / 3.806 GB, free: 57.04 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.007502/9.273, allocations: 1.418 MB / 3.807 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/9.273, allocations: 7.781 kB / 3.807 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/9.273, allocations: 124.2 kB / 3.807 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/9.275, allocations: 0.5815 MB / 3.808 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/9.275, allocations: 43.31 kB / 3.808 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.3e-05/9.275, allocations: 43.72 kB / 3.808 GB, free: 55.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/9.276, allocations: 0.771 MB / 3.809 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/9.276, allocations: 3.281 kB / 3.809 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/9.276, allocations: 31.81 kB / 3.809 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/9.276, allocations: 14.16 kB / 3.809 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/9.277, allocations: 355.7 kB / 3.809 GB, free: 55.05 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.003076/9.28, allocations: 3.344 MB / 3.813 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/9.281, allocations: 179.5 kB / 3.813 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/9.281, allocations: 56.34 kB / 3.813 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04846/9.329, allocations: 31.86 MB / 3.844 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/9.329, allocations: 38.16 kB / 3.844 GB, free: 31.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.314e-06/9.329, allocations: 0 / 3.844 GB, free: 31.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.001189/9.331, allocations: 351.8 kB / 3.844 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/9.331, allocations: 135.8 kB / 3.844 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/9.331, allocations: 0.7249 MB / 3.845 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/9.331, allocations: 27.67 kB / 3.845 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/9.332, allocations: 352.9 kB / 3.845 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/9.332, allocations: 43.17 kB / 3.845 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/9.332, allocations: 0 / 3.845 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.164e-05/9.332, allocations: 317.6 kB / 3.846 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/9.332, allocations: 39.58 kB / 3.846 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/9.332, allocations: 120.1 kB / 3.846 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/9.332, allocations: 176.4 kB / 3.846 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/9.332, allocations: 0 / 3.846 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003383/9.332, allocations: 278 kB / 3.846 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/9.333, allocations: 169.6 kB / 3.847 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/9.333, allocations: 7.875 kB / 3.847 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/9.333, allocations: 3.906 kB / 3.847 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/9.333, allocations: 52.39 kB / 3.847 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/9.333, allocations: 7.312 kB / 3.847 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/9.333, allocations: 57.94 kB / 3.847 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/9.333, allocations: 15.56 kB / 3.847 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/9.333, allocations: 5.531 kB / 3.847 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002156/9.334, allocations: 155.1 kB / 3.847 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/9.334, allocations: 3.906 kB / 3.847 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/9.334, allocations: 7.812 kB / 3.847 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/9.334, allocations: 47.48 kB / 3.847 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/9.334, allocations: 7.656 kB / 3.847 GB, free: 29.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/9.334, allocations: 58.89 kB / 3.847 GB, free: 29.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/9.334, allocations: 14.44 kB / 3.847 GB, free: 29.56 MB / 0.5105 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 () * Number of clocked 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 0.0001775/9.334, allocations: 243.6 kB / 3.847 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/9.334, allocations: 81.09 kB / 3.847 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/9.335, allocations: 0.5129 MB / 3.848 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/9.335, allocations: 11.31 kB / 3.848 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/9.335, allocations: 0 / 3.848 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/9.335, allocations: 3.938 kB / 3.848 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/9.336, allocations: 0.6084 MB / 3.848 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/9.336, allocations: 2.75 kB / 3.848 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/9.336, allocations: 25.02 kB / 3.848 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/9.336, allocations: 3.281 kB / 3.848 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/9.336, allocations: 6.969 kB / 3.848 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/9.336, allocations: 0 / 3.848 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/9.336, allocations: 0 / 3.848 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/9.336, allocations: 0.5088 MB / 3.849 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/9.336, allocations: 241.2 kB / 3.849 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/9.336, allocations: 7.781 kB / 3.849 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/9.337, allocations: 19.06 kB / 3.849 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/9.337, allocations: 7.219 kB / 3.849 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/9.337, allocations: 7 kB / 3.849 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006591/9.337, allocations: 0.7119 MB / 3.85 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/9.337, allocations: 0 / 3.85 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004114/9.341, allocations: 1.106 MB / 3.851 GB, free: 27.55 MB / 0.5105 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 () * Number of clocked 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.004706/9.346, allocations: 1.563 MB / 3.852 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004066/9.347, allocations: 182.4 kB / 3.853 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/9.347, allocations: 3.5 kB / 3.853 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/9.347, allocations: 30.62 kB / 3.853 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/9.349, allocations: 445.7 kB / 3.853 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/9.35, allocations: 1.3 MB / 3.854 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/9.351, allocations: 0.933 MB / 3.855 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004907/9.351, allocations: 286.8 kB / 3.856 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/9.351, allocations: 60.02 kB / 3.856 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/9.351, allocations: 0 / 3.856 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.04637/9.398, allocations: 40.94 MB / 3.896 GB, free: 12.75 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1)