Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 113.9 kB / 17.07 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 190.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3035/0.3035, allocations: 48.84 MB / 320.1 MB, free: 11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 67.91 kB / 450.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1266, allocations: 59.16 MB / 0.4977 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.3109/0.4376, allocations: 41.97 MB / 0.5387 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.4494, allocations: 9.879 MB / 0.5484 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005177/0.4499, allocations: 18.56 kB / 0.5484 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007758/0.4507, allocations: 228.5 kB / 0.5486 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007102/0.4515, allocations: 298.4 kB / 0.5489 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01531/0.4668, allocations: 4.729 MB / 0.5535 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.468, allocations: 0.7605 MB / 0.5543 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.4684, allocations: 255.1 kB / 0.5545 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.4688, allocations: 279.9 kB / 0.5548 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.4692, allocations: 286.8 kB / 0.555 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.4692, allocations: 27.66 kB / 0.5551 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/0.4837, allocations: 6.236 MB / 0.5612 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.484, allocations: 83.38 kB / 0.5612 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000531/0.4845, allocations: 237.4 kB / 0.5615 GB, free: 420 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.4963, allocations: 3.752 MB / 0.5651 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4963, allocations: 1.531 kB / 0.5651 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4964, allocations: 0 / 0.5651 GB, free: 14.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.4964, allocations: 3.984 kB / 0.5651 GB, free: 14.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00455/0.5009, allocations: 1.178 MB / 0.5663 GB, free: 13.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.501, allocations: 16.23 kB / 0.5663 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.5014, allocations: 75.66 kB / 0.5664 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.5021, allocations: 382.4 kB / 0.5667 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.5021, allocations: 21.69 kB / 0.5668 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.5022, allocations: 27.22 kB / 0.5668 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.5031, allocations: 394.8 kB / 0.5672 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5031, allocations: 1.094 kB / 0.5672 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.5031, allocations: 15.34 kB / 0.5672 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.5032, allocations: 6.906 kB / 0.5672 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.5039, allocations: 254.8 kB / 0.5674 GB, free: 12.34 MB / 430.1 MB 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.002407/0.5063, allocations: 2.028 MB / 0.5694 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.5068, allocations: 150.3 kB / 0.5695 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.507, allocations: 80.88 kB / 0.5696 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0656/0.5726, allocations: 32.11 MB / 0.601 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.5726, allocations: 30.56 kB / 0.601 GB, free: 12.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 4.889e-06/0.5727, allocations: 0 / 0.601 GB, free: 12.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.002569/0.5752, allocations: 0.577 MB / 0.6016 GB, free: 11.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.5753, allocations: 55.41 kB / 0.6016 GB, free: 11.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.5759, allocations: 401.9 kB / 0.602 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.5759, allocations: 33.64 kB / 0.602 GB, free: 11.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.5761, allocations: 212.1 kB / 0.6022 GB, free: 10.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.5762, allocations: 55.28 kB / 0.6023 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.5763, allocations: 53.59 kB / 0.6023 GB, free: 10.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5765, allocations: 350.7 kB / 0.6027 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.5767, allocations: 76.81 kB / 0.6028 GB, free: 10.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.5769, allocations: 108.2 kB / 0.6029 GB, free: 10.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.5773, allocations: 184.1 kB / 0.603 GB, free: 10.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5773, allocations: 0 / 0.603 GB, free: 10.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007198/0.578, allocations: 305.8 kB / 0.6033 GB, free: 9.762 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.5781, allocations: 8 kB / 0.6033 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5781, allocations: 3.938 kB / 0.6033 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.5804, allocations: 330.3 kB / 0.6037 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.5807, allocations: 51.89 kB / 0.6037 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008041/0.5815, allocations: 0.6459 MB / 0.6043 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.5818, allocations: 28.66 kB / 0.6044 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.5819, allocations: 7.984 kB / 0.6044 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002515/0.5821, allocations: 168.2 kB / 0.6045 GB, free: 8.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001773/0.5823, allocations: 119.6 kB / 0.6046 GB, free: 8.355 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003143/0.5827, allocations: 191.5 kB / 0.6048 GB, free: 8.141 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.5827, allocations: 4 kB / 0.6048 GB, free: 8.137 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0007597/0.5834, allocations: 301.9 kB / 0.6051 GB, free: 7.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5835, allocations: 4 kB / 0.6051 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5835, allocations: 4 kB / 0.6051 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/0.5838, allocations: 76.78 kB / 0.6052 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.5841, allocations: 56 kB / 0.6052 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.5857, allocations: 1.568 MB / 0.6068 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.5861, allocations: 19.92 kB / 0.6068 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.5861, allocations: 12 kB / 0.6068 GB, free: 5.957 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.5863, allocations: 193 kB / 0.607 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.5864, allocations: 43.58 kB / 0.607 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.5878, allocations: 0.9072 MB / 0.6079 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5878, allocations: 4 kB / 0.6079 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5878, allocations: 0 / 0.6079 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5878, allocations: 3.984 kB / 0.6079 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/0.5886, allocations: 0.5567 MB / 0.6085 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5887, allocations: 0 / 0.6085 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.791e-05/0.5887, allocations: 19.98 kB / 0.6085 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.5902, allocations: 0.4915 MB / 0.609 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.5903, allocations: 11.94 kB / 0.609 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.5913, allocations: 1.077 MB / 0.61 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5914, allocations: 0 / 0.61 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.5925, allocations: 0.8029 MB / 0.6108 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.5926, allocations: 132.4 kB / 0.6109 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/0.5927, allocations: 11.84 kB / 0.611 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.5929, allocations: 8 kB / 0.611 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.593, allocations: 15.97 kB / 0.611 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.593, allocations: 7.938 kB / 0.611 GB, free: 1.555 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004087/0.5934, allocations: 342.8 kB / 0.6113 GB, free: 1.219 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5935, allocations: 4 kB / 0.6113 GB, free: 1.215 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004263/0.5977, allocations: 0.9407 MB / 0.6122 GB, free: 280 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005686/0.6034, allocations: 0.962 MB / 0.6132 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.605, allocations: 485.8 kB / 0.6136 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.605, allocations: 0 / 0.6136 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.6054, allocations: 192.1 kB / 0.6138 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.6067, allocations: 227.2 kB / 0.614 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.6082, allocations: 0.856 MB / 0.6149 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.6086, allocations: 0.8436 MB / 0.6157 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003347/0.6089, allocations: 170.9 kB / 0.6159 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.609, allocations: 35.42 kB / 0.6159 GB, free: 12.47 MB / 478.1 MB Notification: Performance of SimCode: time 1.733e-06/0.609, allocations: 0 / 0.6159 GB, free: 12.47 MB / 478.1 MB Notification: Performance of Templates: time 0.051/0.66, allocations: 35.63 MB / 0.6507 GB, free: 8.789 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1)