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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001752/0.001752, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.256/1.256, allocations: 205.1 MB / 223.1 MB, free: 8.457 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.0009724/0.0009724, allocations: 104 kB / 270.5 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3645/0.3645, allocations: 48.83 MB / 366.7 MB, free: 46.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 47.92 kB / 436.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09761, allocations: 59.15 MB / 495.8 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.2005/0.2982, allocations: 42.9 MB / 0.526 GB, free: 35.88 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009342/0.3075, allocations: 10.64 MB / 0.5364 GB, free: 28.55 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.308, allocations: 10.88 kB / 0.5364 GB, free: 28.54 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.3086, allocations: 204.2 kB / 0.5366 GB, free: 28.43 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.309, allocations: 273.6 kB / 0.5369 GB, free: 28.26 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009785/0.3188, allocations: 3.781 MB / 0.5406 GB, free: 26.56 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009826/0.3198, allocations: 0.996 MB / 0.5415 GB, free: 26.17 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003311/0.3202, allocations: 213.1 kB / 0.5418 GB, free: 26.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.3205, allocations: 250.1 kB / 0.542 GB, free: 25.99 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.3208, allocations: 302.7 kB / 0.5423 GB, free: 25.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.3208, allocations: 22.88 kB / 0.5423 GB, free: 25.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.3311, allocations: 6.176 MB / 0.5483 GB, free: 24.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3313, allocations: 67.95 kB / 0.5484 GB, free: 24.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.3316, allocations: 225 kB / 0.5486 GB, free: 24.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007248/0.3388, allocations: 3.77 MB / 0.5523 GB, free: 21.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3389, allocations: 3.984 kB / 0.5523 GB, free: 21.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3389, allocations: 4 kB / 0.5523 GB, free: 21.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3389, allocations: 1.062 kB / 0.5523 GB, free: 21.69 MB / 394.7 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.00271/0.3416, allocations: 1.166 MB / 0.5534 GB, free: 20.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3416, allocations: 9.438 kB / 0.5534 GB, free: 20.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.3419, allocations: 74.84 kB / 0.5535 GB, free: 20.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3423, allocations: 367.9 kB / 0.5539 GB, free: 20.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3423, allocations: 28.97 kB / 0.5539 GB, free: 20.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.3423, allocations: 27.91 kB / 0.5539 GB, free: 20.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.343, allocations: 391.1 kB / 0.5543 GB, free: 20.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.343, allocations: 1.406 kB / 0.5543 GB, free: 20.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.343, allocations: 10.34 kB / 0.5543 GB, free: 20.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3431, allocations: 15.69 kB / 0.5543 GB, free: 20.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.3436, allocations: 254.3 kB / 0.5546 GB, free: 20.03 MB / 394.7 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.001566/0.3452, allocations: 2.028 MB / 0.5565 GB, free: 18.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.3457, allocations: 152.8 kB / 0.5567 GB, free: 17.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.3459, allocations: 76.61 kB / 0.5568 GB, free: 17.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0615/0.4074, allocations: 31.98 MB / 0.588 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.4074, allocations: 34.56 kB / 0.588 GB, free: 4.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.4074, allocations: 0 / 0.588 GB, free: 4.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.002489/0.4099, allocations: 0.5731 MB / 0.5886 GB, free: 4.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.41, allocations: 59.41 kB / 0.5886 GB, free: 4.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.4104, allocations: 401.9 kB / 0.589 GB, free: 3.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.4104, allocations: 25.7 kB / 0.5891 GB, free: 3.766 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.4106, allocations: 220 kB / 0.5893 GB, free: 3.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.4106, allocations: 51.3 kB / 0.5893 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.4107, allocations: 49.59 kB / 0.5894 GB, free: 3.441 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4109, allocations: 350.7 kB / 0.5897 GB, free: 3.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.4111, allocations: 80.81 kB / 0.5898 GB, free: 3.008 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.4113, allocations: 100.2 kB / 0.5899 GB, free: 2.895 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.4116, allocations: 186.6 kB / 0.59 GB, free: 2.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4116, allocations: 0 / 0.59 GB, free: 2.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006111/0.4123, allocations: 301.8 kB / 0.5903 GB, free: 2.395 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4123, allocations: 12.89 kB / 0.5903 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4123, allocations: 4 kB / 0.5903 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.4147, allocations: 324.5 kB / 0.5907 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.4149, allocations: 58.45 kB / 0.5907 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007942/0.4157, allocations: 0.6499 MB / 0.5913 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.4161, allocations: 39.66 kB / 0.5914 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.4162, allocations: 8 kB / 0.5914 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002366/0.4164, allocations: 164.1 kB / 0.5916 GB, free: 1.117 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001749/0.4166, allocations: 123.6 kB / 0.5917 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003226/0.4169, allocations: 190.9 kB / 0.5919 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.4169, allocations: 0 / 0.5919 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0007742/0.4177, allocations: 301.7 kB / 0.5921 GB, free: 464 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.4177, allocations: 4.25 kB / 0.5921 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4177, allocations: 8 kB / 0.5922 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.4181, allocations: 68.78 kB / 0.5922 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.4184, allocations: 63.88 kB / 0.5923 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.42, allocations: 1.459 MB / 0.5937 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.4203, allocations: 27.83 kB / 0.5937 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.4203, allocations: 11.98 kB / 0.5937 GB, free: 14.68 MB / 426.7 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.0001116/0.4204, allocations: 189.4 kB / 0.5939 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.4205, allocations: 43.47 kB / 0.594 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.4217, allocations: 0.9181 MB / 0.5949 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.4217, allocations: 3.984 kB / 0.5949 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4218, allocations: 4 kB / 0.5949 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4218, allocations: 0 / 0.5949 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.4223, allocations: 0.5373 MB / 0.5954 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4223, allocations: 0 / 0.5954 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/0.4224, allocations: 27.98 kB / 0.5954 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.4244, allocations: 0.8671 MB / 0.5963 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.4244, allocations: 8 kB / 0.5963 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009577/0.4254, allocations: 1.069 MB / 0.5973 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4254, allocations: 4.031 kB / 0.5973 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.4271, allocations: 1.675 MB / 0.599 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.4272, allocations: 124.4 kB / 0.5991 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.4273, allocations: 18.59 kB / 0.5991 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.4275, allocations: 19.97 kB / 0.5991 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.4276, allocations: 22.97 kB / 0.5991 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4276, allocations: 4 kB / 0.5991 GB, free: 8.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003474/0.428, allocations: 338.9 kB / 0.5995 GB, free: 8.656 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.428, allocations: 0 / 0.5995 GB, free: 8.656 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003557/0.4315, allocations: 0.9875 MB / 0.6004 GB, free: 7.668 MB / 426.7 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.003927/0.4355, allocations: 0.9686 MB / 0.6014 GB, free: 6.703 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.4369, allocations: 480.1 kB / 0.6018 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4369, allocations: 0 / 0.6018 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.4372, allocations: 196.6 kB / 0.602 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.4386, allocations: 212.6 kB / 0.6022 GB, free: 5.832 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.44, allocations: 1.331 MB / 0.6035 GB, free: 4.453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.4403, allocations: 0.8636 MB / 0.6044 GB, free: 3.566 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.4406, allocations: 164.5 kB / 0.6045 GB, free: 3.414 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.4407, allocations: 31.42 kB / 0.6045 GB, free: 3.383 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4407, allocations: 0 / 0.6045 GB, free: 3.383 MB / 426.7 MB Notification: Performance of Templates: time 0.0454/0.4861, allocations: 35.44 MB / 0.6392 GB, free: 15.95 MB / 474.7 MB 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)