Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.19/2.19, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 200.3 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108.3 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 55.53 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3336, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01414/0.3477, allocations: 17.39 MB / 1.235 GB, free: 99.83 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.005985/0.3538, allocations: 4.941 MB / 1.24 GB, free: 94.88 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.355, allocations: 15.88 kB / 1.24 GB, free: 94.86 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.3563, allocations: 207 kB / 1.24 GB, free: 94.66 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.3583, allocations: 0.5638 MB / 1.241 GB, free: 94.09 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.3603, allocations: 0.6444 MB / 1.241 GB, free: 93.45 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.3616, allocations: 1.271 MB / 1.243 GB, free: 92.18 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.362, allocations: 290.8 kB / 1.243 GB, free: 91.89 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.3625, allocations: 394.3 kB / 1.243 GB, free: 91.51 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.3629, allocations: 314.6 kB / 1.243 GB, free: 91.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.3629, allocations: 16 kB / 1.244 GB, free: 91.18 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3641, allocations: 0.7057 MB / 1.244 GB, free: 90.48 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.3642, allocations: 119.6 kB / 1.244 GB, free: 90.36 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.3644, allocations: 234.6 kB / 1.245 GB, free: 90.13 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000909/0.3653, allocations: 0.8529 MB / 1.245 GB, free: 89.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3653, allocations: 0 / 1.245 GB, free: 89.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3653, allocations: 0 / 1.245 GB, free: 89.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3653, allocations: 4 kB / 1.245 GB, free: 89.27 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001157/0.3665, allocations: 0.8836 MB / 1.246 GB, free: 88.34 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3665, allocations: 11.98 kB / 1.246 GB, free: 88.32 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.3667, allocations: 64.19 kB / 1.246 GB, free: 88.26 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.3673, allocations: 441.8 kB / 1.247 GB, free: 87.79 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3673, allocations: 24.5 kB / 1.247 GB, free: 87.77 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.3674, allocations: 35.94 kB / 1.247 GB, free: 87.73 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.3678, allocations: 286.2 kB / 1.247 GB, free: 87.43 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3678, allocations: 0 / 1.247 GB, free: 87.43 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.3679, allocations: 11.94 kB / 1.247 GB, free: 87.42 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3679, allocations: 12 kB / 1.247 GB, free: 87.41 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.3683, allocations: 190.1 kB / 1.247 GB, free: 87.22 MB / 0.823 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.001502/0.3698, allocations: 1.484 MB / 1.249 GB, free: 85.63 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.3701, allocations: 158.8 kB / 1.249 GB, free: 85.46 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.3702, allocations: 92.8 kB / 1.249 GB, free: 85.37 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.3715, allocations: 1.272 MB / 1.25 GB, free: 83.91 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3716, allocations: 38.5 kB / 1.25 GB, free: 83.86 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.3716, allocations: 0 / 1.25 GB, free: 83.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0005781/0.3722, allocations: 246.4 kB / 1.25 GB, free: 83.61 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.3722, allocations: 55.39 kB / 1.251 GB, free: 83.55 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.3727, allocations: 0.5809 MB / 1.251 GB, free: 82.95 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3727, allocations: 29.7 kB / 1.251 GB, free: 82.92 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3729, allocations: 276.1 kB / 1.251 GB, free: 82.64 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.3729, allocations: 63.12 kB / 1.251 GB, free: 82.58 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.373, allocations: 65.89 kB / 1.251 GB, free: 82.51 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.3731, allocations: 358.8 kB / 1.252 GB, free: 82.15 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.3733, allocations: 77.94 kB / 1.252 GB, free: 82.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.3735, allocations: 210.8 kB / 1.252 GB, free: 81.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.3739, allocations: 238.7 kB / 1.252 GB, free: 81.55 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3739, allocations: 0 / 1.252 GB, free: 81.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004873/0.3744, allocations: 311 kB / 1.253 GB, free: 81.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3744, allocations: 11.94 kB / 1.253 GB, free: 81.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3744, allocations: 0 / 1.253 GB, free: 81.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3744, allocations: 4.25 kB / 1.253 GB, free: 81.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.3747, allocations: 67.84 kB / 1.253 GB, free: 81.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3747, allocations: 4 kB / 1.253 GB, free: 81.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.375, allocations: 47.66 kB / 1.253 GB, free: 81.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.375, allocations: 16 kB / 1.253 GB, free: 81.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002535/0.3753, allocations: 212.6 kB / 1.253 GB, free: 80.89 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000227/0.3755, allocations: 214.1 kB / 1.253 GB, free: 80.63 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003065/0.3759, allocations: 237.9 kB / 1.253 GB, free: 80.36 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3759, allocations: 0 / 1.253 GB, free: 80.36 MB / 0.823 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004597/0.3763, allocations: 302.5 kB / 1.254 GB, free: 80.06 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.3763, allocations: 8 kB / 1.254 GB, free: 80.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.3764, allocations: 8.188 kB / 1.254 GB, free: 80.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/0.3764, allocations: 4 kB / 1.254 GB, free: 80.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.3766, allocations: 67.89 kB / 1.254 GB, free: 79.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3766, allocations: 7.938 kB / 1.254 GB, free: 79.97 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.3769, allocations: 39.81 kB / 1.254 GB, free: 79.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3769, allocations: 12.19 kB / 1.254 GB, free: 79.92 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.654e-05/0.377, allocations: 205.6 kB / 1.254 GB, free: 79.71 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.3771, allocations: 59.22 kB / 1.254 GB, free: 79.65 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.3776, allocations: 250.6 kB / 1.254 GB, free: 79.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.3776, allocations: 4.188 kB / 1.254 GB, free: 79.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3776, allocations: 4 kB / 1.254 GB, free: 79.39 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3776, allocations: 11.97 kB / 1.254 GB, free: 79.38 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/0.3785, allocations: 0.7338 MB / 1.255 GB, free: 78.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3785, allocations: 0 / 1.255 GB, free: 78.58 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3786, allocations: 31.92 kB / 1.255 GB, free: 78.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3786, allocations: 4.125 kB / 1.255 GB, free: 78.55 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3786, allocations: 4 kB / 1.255 GB, free: 78.54 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3786, allocations: 4 kB / 1.255 GB, free: 78.54 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3786, allocations: 0 / 1.255 GB, free: 78.54 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/0.3794, allocations: 1.063 MB / 1.256 GB, free: 77.41 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3795, allocations: 144.5 kB / 1.256 GB, free: 77.25 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.3796, allocations: 4 kB / 1.256 GB, free: 77.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3798, allocations: 23.92 kB / 1.256 GB, free: 77.22 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3798, allocations: 15.97 kB / 1.256 GB, free: 77.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3799, allocations: 4 kB / 1.256 GB, free: 77.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003541/0.3802, allocations: 422.8 kB / 1.257 GB, free: 76.79 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.92e-07/0.3802, allocations: 0 / 1.257 GB, free: 76.79 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008737/0.3811, allocations: 247.5 kB / 1.257 GB, free: 76.55 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.3822, allocations: 491.1 kB / 1.257 GB, free: 76.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006744/0.3829, allocations: 320.7 kB / 1.258 GB, free: 75.88 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3829, allocations: 0 / 1.258 GB, free: 75.88 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.3831, allocations: 89.02 kB / 1.258 GB, free: 75.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3844, allocations: 263.2 kB / 1.258 GB, free: 75.55 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3856, allocations: 1.124 MB / 1.259 GB, free: 74.37 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.3858, allocations: 0.8468 MB / 1.26 GB, free: 73.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003071/0.3862, allocations: 92.27 kB / 1.26 GB, free: 73.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.3862, allocations: 47.42 kB / 1.26 GB, free: 73.36 MB / 0.823 GB Notification: Performance of SimCode: time 4.01e-07/0.3862, allocations: 0 / 1.26 GB, free: 73.36 MB / 0.823 GB Notification: Performance of Templates: time 0.01338/0.3996, allocations: 10.09 MB / 1.27 GB, free: 63.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)