Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.18/2.18, allocations: 391.2 MB / 407 MB, free: 10.84 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.00128/0.00128, allocations: 183.4 kB / 499.1 MB, free: 4.695 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.498/1.498, allocations: 222.9 MB / 0.7948 GB, free: 15.79 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.001054/0.001054, allocations: 109.8 kB / 0.9329 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001085, allocations: 52.53 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2817, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01186/0.2936, allocations: 15.48 MB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.005086/0.2987, allocations: 4.354 MB / 1.237 GB, free: 97.38 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007965/0.2995, allocations: 11.88 kB / 1.237 GB, free: 97.36 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009599/0.3006, allocations: 218.9 kB / 1.238 GB, free: 97.15 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3021, allocations: 0.5521 MB / 1.238 GB, free: 96.59 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.3037, allocations: 0.6288 MB / 1.239 GB, free: 95.97 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.3049, allocations: 1.325 MB / 1.24 GB, free: 94.64 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.3053, allocations: 289.8 kB / 1.24 GB, free: 94.36 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005257/0.3058, allocations: 394.3 kB / 1.241 GB, free: 93.97 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.3062, allocations: 318.5 kB / 1.241 GB, free: 93.66 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.066e-05/0.3062, allocations: 20 kB / 1.241 GB, free: 93.64 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.3071, allocations: 0.6043 MB / 1.242 GB, free: 93.04 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.68e-05/0.3072, allocations: 83.61 kB / 1.242 GB, free: 92.95 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.3074, allocations: 214.7 kB / 1.242 GB, free: 92.74 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.3082, allocations: 0.7439 MB / 1.243 GB, free: 92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3082, allocations: 0 / 1.243 GB, free: 92 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3082, allocations: 7.938 kB / 1.243 GB, free: 91.99 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3082, allocations: 0 / 1.243 GB, free: 91.99 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001042/0.3092, allocations: 0.8329 MB / 1.244 GB, free: 91.11 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3093, allocations: 15.98 kB / 1.244 GB, free: 91.09 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.3094, allocations: 48.38 kB / 1.244 GB, free: 91.04 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.3099, allocations: 425.3 kB / 1.244 GB, free: 90.59 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3099, allocations: 24.44 kB / 1.244 GB, free: 90.56 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.3099, allocations: 27.98 kB / 1.244 GB, free: 90.54 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.3103, allocations: 211.2 kB / 1.244 GB, free: 90.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3103, allocations: 0 / 1.244 GB, free: 90.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.3104, allocations: 11.98 kB / 1.244 GB, free: 90.31 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3104, allocations: 4 kB / 1.244 GB, free: 90.31 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.3107, allocations: 161.6 kB / 1.244 GB, free: 90.15 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.001246/0.3119, allocations: 0.9456 MB / 1.245 GB, free: 89.13 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.3122, allocations: 134.6 kB / 1.245 GB, free: 88.99 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3123, allocations: 68.83 kB / 1.246 GB, free: 88.92 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.3125, allocations: 340.5 kB / 1.246 GB, free: 88.51 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.3126, allocations: 34.56 kB / 1.246 GB, free: 88.47 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3126, allocations: 0 / 1.246 GB, free: 88.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0005411/0.3131, allocations: 247.9 kB / 1.246 GB, free: 88.22 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.3131, allocations: 55.41 kB / 1.246 GB, free: 88.16 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.3135, allocations: 477.9 kB / 1.247 GB, free: 87.68 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3136, allocations: 33.7 kB / 1.247 GB, free: 87.64 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3137, allocations: 228.6 kB / 1.247 GB, free: 87.41 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.3137, allocations: 39.36 kB / 1.247 GB, free: 87.38 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.3138, allocations: 61.59 kB / 1.247 GB, free: 87.31 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.3139, allocations: 362.7 kB / 1.247 GB, free: 86.95 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.314, allocations: 72.67 kB / 1.247 GB, free: 86.87 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3143, allocations: 151.6 kB / 1.248 GB, free: 86.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.3146, allocations: 168.7 kB / 1.248 GB, free: 86.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3146, allocations: 4 kB / 1.248 GB, free: 86.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004146/0.315, allocations: 245.8 kB / 1.248 GB, free: 86.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.315, allocations: 4 kB / 1.248 GB, free: 86.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.315, allocations: 4 kB / 1.248 GB, free: 86.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.315, allocations: 3.984 kB / 1.248 GB, free: 86.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.3153, allocations: 51.92 kB / 1.248 GB, free: 86.21 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.3153, allocations: 3.984 kB / 1.248 GB, free: 86.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.3156, allocations: 47.66 kB / 1.248 GB, free: 86.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.3156, allocations: 11.98 kB / 1.248 GB, free: 86.15 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002145/0.3158, allocations: 192 kB / 1.248 GB, free: 85.96 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001863/0.316, allocations: 167.4 kB / 1.248 GB, free: 85.76 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002611/0.3163, allocations: 176.1 kB / 1.249 GB, free: 85.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.3163, allocations: 0 / 1.249 GB, free: 85.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0003927/0.3167, allocations: 245.1 kB / 1.249 GB, free: 85.33 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.3167, allocations: 5.094 kB / 1.249 GB, free: 85.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.3167, allocations: 0 / 1.249 GB, free: 85.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.3167, allocations: 8.062 kB / 1.249 GB, free: 85.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3169, allocations: 51.91 kB / 1.249 GB, free: 85.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.3169, allocations: 0 / 1.249 GB, free: 85.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.3172, allocations: 43.8 kB / 1.249 GB, free: 85.22 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3173, allocations: 8 kB / 1.249 GB, free: 85.21 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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 7.181e-05/0.3173, allocations: 201.6 kB / 1.249 GB, free: 85.01 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.3174, allocations: 43.44 kB / 1.249 GB, free: 84.97 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.3179, allocations: 249.2 kB / 1.249 GB, free: 84.71 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3179, allocations: 192 / 1.249 GB, free: 84.71 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3179, allocations: 0 / 1.249 GB, free: 84.71 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3179, allocations: 7.984 kB / 1.249 GB, free: 84.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.3187, allocations: 0.6966 MB / 1.25 GB, free: 83.94 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3187, allocations: 7.984 kB / 1.25 GB, free: 83.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3188, allocations: 27.98 kB / 1.25 GB, free: 83.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3188, allocations: 8.125 kB / 1.25 GB, free: 83.89 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3188, allocations: 4 kB / 1.25 GB, free: 83.89 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3188, allocations: 3.938 kB / 1.25 GB, free: 83.89 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3188, allocations: 7.875 kB / 1.25 GB, free: 83.88 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.3195, allocations: 1.045 MB / 1.251 GB, free: 82.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3196, allocations: 136.5 kB / 1.251 GB, free: 82.62 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.3197, allocations: 8 kB / 1.251 GB, free: 82.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.3199, allocations: 23.89 kB / 1.251 GB, free: 82.59 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.3199, allocations: 15.97 kB / 1.251 GB, free: 82.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3199, allocations: 12 kB / 1.251 GB, free: 82.56 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002474/0.3202, allocations: 330.9 kB / 1.252 GB, free: 82.24 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3202, allocations: 0 / 1.252 GB, free: 82.24 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007498/0.321, allocations: 215.6 kB / 1.252 GB, free: 82.03 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 (16): * Single equations (assignments): 14 * 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.0009492/0.3219, allocations: 483.9 kB / 1.252 GB, free: 81.69 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000541/0.3225, allocations: 267.7 kB / 1.253 GB, free: 81.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3225, allocations: 0 / 1.253 GB, free: 81.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3226, allocations: 87.83 kB / 1.253 GB, free: 81.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.3239, allocations: 213.2 kB / 1.253 GB, free: 81.14 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3249, allocations: 0.9991 MB / 1.254 GB, free: 80.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.3251, allocations: 0.8314 MB / 1.255 GB, free: 79.23 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002575/0.3254, allocations: 103.3 kB / 1.255 GB, free: 79.12 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.3254, allocations: 39.42 kB / 1.255 GB, free: 79.09 MB / 0.823 GB Notification: Performance of SimCode: time 5.11e-07/0.3254, allocations: 3.938 kB / 1.255 GB, free: 79.09 MB / 0.823 GB Notification: Performance of Templates: time 0.01131/0.3368, allocations: 8.486 MB / 1.263 GB, free: 70.71 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)