Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001471/0.001471, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.333/1.333, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.3 MB / 0.5495 GB, free: 17.64 MB / 462.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.001575/0.001575, allocations: 71.89 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2143, allocations: 114.5 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.36/0.5744, allocations: 15.7 MB / 0.7994 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009014/0.5835, allocations: 7.052 MB / 0.8062 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007387/0.5842, allocations: 17.44 kB / 0.8063 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009411/0.5852, allocations: 260.3 kB / 0.8065 GB, free: 36.78 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001662/0.5869, allocations: 0.6133 MB / 0.8071 GB, free: 36.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.5888, allocations: 0.6714 MB / 0.8078 GB, free: 36.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.5903, allocations: 1.022 MB / 0.8088 GB, free: 35.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005696/0.5909, allocations: 336.8 kB / 0.8091 GB, free: 35.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007398/0.5917, allocations: 411.2 kB / 0.8095 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.5921, allocations: 319.2 kB / 0.8098 GB, free: 35.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.5922, allocations: 26.75 kB / 0.8098 GB, free: 35.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.5936, allocations: 0.6163 MB / 0.8104 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.5937, allocations: 95.44 kB / 0.8105 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.594, allocations: 231.8 kB / 0.8107 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.5952, allocations: 0.7448 MB / 0.8114 GB, free: 34.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5952, allocations: 0.75 kB / 0.8114 GB, free: 34.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5952, allocations: 0 / 0.8114 GB, free: 34.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.5952, allocations: 1.656 kB / 0.8115 GB, free: 34.51 MB / 0.6544 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.00149/0.5967, allocations: 0.8187 MB / 0.8122 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.5968, allocations: 13.59 kB / 0.8123 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.597, allocations: 54.56 kB / 0.8123 GB, free: 33.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008012/0.5978, allocations: 414.3 kB / 0.8127 GB, free: 33.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.5979, allocations: 20.59 kB / 0.8127 GB, free: 33.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.5979, allocations: 27.06 kB / 0.8128 GB, free: 33.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.5985, allocations: 219.2 kB / 0.813 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5985, allocations: 0 / 0.813 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.5986, allocations: 10.16 kB / 0.813 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.5986, allocations: 5.906 kB / 0.813 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.5991, allocations: 166.1 kB / 0.8131 GB, free: 33.36 MB / 0.6544 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.001846/0.6009, allocations: 0.9454 MB / 0.8141 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.6012, allocations: 134.2 kB / 0.8142 GB, free: 32.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.6014, allocations: 69.78 kB / 0.8143 GB, free: 32.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.6016, allocations: 339.6 kB / 0.8146 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.6017, allocations: 32.98 kB / 0.8146 GB, free: 32.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.6017, allocations: 0 / 0.8146 GB, free: 32.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0006571/0.6023, allocations: 243.9 kB / 0.8148 GB, free: 32.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.6024, allocations: 54.03 kB / 0.8149 GB, free: 32.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.6029, allocations: 474.7 kB / 0.8153 GB, free: 31.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.6029, allocations: 36.27 kB / 0.8154 GB, free: 31.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.6031, allocations: 234.4 kB / 0.8156 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.6031, allocations: 45.22 kB / 0.8156 GB, free: 31.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.6032, allocations: 57.44 kB / 0.8157 GB, free: 31.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.6033, allocations: 353.2 kB / 0.816 GB, free: 31.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.6035, allocations: 73.42 kB / 0.8161 GB, free: 31.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.6038, allocations: 156.3 kB / 0.8163 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.6041, allocations: 159 kB / 0.8164 GB, free: 31.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6041, allocations: 1.875 kB / 0.8164 GB, free: 31.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005121/0.6046, allocations: 258.3 kB / 0.8167 GB, free: 30.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6047, allocations: 5.938 kB / 0.8167 GB, free: 30.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6047, allocations: 1.938 kB / 0.8167 GB, free: 30.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.6047, allocations: 0.6562 kB / 0.8167 GB, free: 30.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.6049, allocations: 51.67 kB / 0.8167 GB, free: 30.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6049, allocations: 5.953 kB / 0.8167 GB, free: 30.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.6053, allocations: 39.33 kB / 0.8168 GB, free: 30.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.6053, allocations: 13.12 kB / 0.8168 GB, free: 30.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002625/0.6056, allocations: 192.7 kB / 0.817 GB, free: 30.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00022/0.6058, allocations: 155.1 kB / 0.8171 GB, free: 30.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003177/0.6061, allocations: 169.3 kB / 0.8173 GB, free: 30.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.6061, allocations: 0.7188 kB / 0.8173 GB, free: 30.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004913/0.6066, allocations: 262.6 kB / 0.8175 GB, free: 30.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.6066, allocations: 6.656 kB / 0.8175 GB, free: 30.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.6067, allocations: 1.656 kB / 0.8175 GB, free: 30.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.6067, allocations: 2.312 kB / 0.8175 GB, free: 30.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.6069, allocations: 46.22 kB / 0.8176 GB, free: 30.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.6069, allocations: 3.125 kB / 0.8176 GB, free: 30.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.6072, allocations: 32.45 kB / 0.8176 GB, free: 30.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.6072, allocations: 12.81 kB / 0.8176 GB, free: 30.42 MB / 0.6544 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 8.068e-05/0.6073, allocations: 198.1 kB / 0.8178 GB, free: 30.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.6074, allocations: 43.03 kB / 0.8178 GB, free: 30.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.6079, allocations: 246.6 kB / 0.8181 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.608, allocations: 3.453 kB / 0.8181 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.608, allocations: 4 kB / 0.8181 GB, free: 30.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.608, allocations: 0.6562 kB / 0.8181 GB, free: 30.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009295/0.6089, allocations: 0.7005 MB / 0.8188 GB, free: 29.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6089, allocations: 1.891 kB / 0.8188 GB, free: 29.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.6091, allocations: 28.12 kB / 0.8188 GB, free: 29.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6091, allocations: 10.12 kB / 0.8188 GB, free: 29.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.6091, allocations: 3.828 kB / 0.8188 GB, free: 29.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6091, allocations: 5.766 kB / 0.8188 GB, free: 29.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6091, allocations: 2.438 kB / 0.8188 GB, free: 29.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.6095, allocations: 345.6 kB / 0.8192 GB, free: 29.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.6096, allocations: 137.8 kB / 0.8193 GB, free: 29.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.6097, allocations: 7.312 kB / 0.8193 GB, free: 29.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.6099, allocations: 15.92 kB / 0.8193 GB, free: 29.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.61, allocations: 10.19 kB / 0.8193 GB, free: 29.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.61, allocations: 10.89 kB / 0.8193 GB, free: 29.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003572/0.6104, allocations: 335.6 kB / 0.8196 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6104, allocations: 0 / 0.8196 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007236/0.6111, allocations: 198.2 kB / 0.8198 GB, free: 29.03 MB / 0.6544 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.001111/0.6122, allocations: 485.5 kB / 0.8203 GB, free: 28.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006878/0.6129, allocations: 277 kB / 0.8206 GB, free: 28.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6129, allocations: 0 / 0.8206 GB, free: 28.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.6131, allocations: 85.14 kB / 0.8206 GB, free: 28.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6143, allocations: 207.1 kB / 0.8208 GB, free: 28.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.6155, allocations: 0.7355 MB / 0.8216 GB, free: 28.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.6157, allocations: 0.8246 MB / 0.8224 GB, free: 27.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.755e-05/0.6159, allocations: 40.17 kB / 0.8224 GB, free: 27.56 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.6159, allocations: 1.344 kB / 0.8224 GB, free: 27.56 MB / 0.6544 GB Notification: Performance of Templates: time 0.01383/0.6297, allocations: 7.362 MB / 0.8296 GB, free: 26.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)