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.001105/0.001106, allocations: 105.1 kB / 16.29 MB, free: 6.031 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.00108/0.00108, allocations: 179.3 kB / 17.22 MB, free: 5.641 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.699/1.699, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.896/1.896, allocations: 292.3 MB / 0.5495 GB, free: 17.67 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.002003/0.002003, allocations: 67.89 kB / 0.6722 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 114.6 MB / 0.7841 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.6839/1.027, allocations: 15.69 MB / 0.7994 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01227/1.039, allocations: 7.05 MB / 0.8063 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/1.041, allocations: 23.75 kB / 0.8063 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/1.042, allocations: 260.2 kB / 0.8066 GB, free: 36.91 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.002224/1.044, allocations: 0.6022 MB / 0.8071 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/1.047, allocations: 0.6894 MB / 0.8078 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002249/1.049, allocations: 1.017 MB / 0.8088 GB, free: 35.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/1.05, allocations: 336 kB / 0.8091 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/1.051, allocations: 413.1 kB / 0.8095 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/1.052, allocations: 319.8 kB / 0.8098 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.415e-05/1.052, allocations: 26.22 kB / 0.8099 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/1.054, allocations: 0.6187 MB / 0.8105 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/1.054, allocations: 98.78 kB / 0.8106 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003512/1.054, allocations: 220.6 kB / 0.8108 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/1.056, allocations: 0.7629 MB / 0.8115 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.056, allocations: 0.5625 kB / 0.8115 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/1.056, allocations: 0 / 0.8115 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.056, allocations: 1.375 kB / 0.8115 GB, free: 34.64 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.001365/1.058, allocations: 0.8222 MB / 0.8123 GB, free: 34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.058, allocations: 8.781 kB / 0.8123 GB, free: 34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/1.058, allocations: 56.66 kB / 0.8124 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/1.059, allocations: 413.5 kB / 0.8128 GB, free: 33.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/1.059, allocations: 20.81 kB / 0.8128 GB, free: 33.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/1.059, allocations: 29.41 kB / 0.8128 GB, free: 33.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/1.059, allocations: 216.7 kB / 0.813 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.059, allocations: 0 / 0.813 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/1.059, allocations: 13.25 kB / 0.813 GB, free: 33.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/1.059, allocations: 4.719 kB / 0.813 GB, free: 33.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/1.06, allocations: 162.7 kB / 0.8132 GB, free: 33.5 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.001981/1.062, allocations: 0.9395 MB / 0.8141 GB, free: 32.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/1.062, allocations: 139.7 kB / 0.8143 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/1.062, allocations: 74.66 kB / 0.8143 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/1.063, allocations: 334.8 kB / 0.8146 GB, free: 32.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.063, allocations: 32.66 kB / 0.8147 GB, free: 32.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/1.063, allocations: 0 / 0.8147 GB, free: 32.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0007209/1.063, allocations: 242.7 kB / 0.8149 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/1.063, allocations: 55.38 kB / 0.815 GB, free: 32.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/1.064, allocations: 474 kB / 0.8154 GB, free: 31.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/1.064, allocations: 32.8 kB / 0.8154 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/1.064, allocations: 232.6 kB / 0.8157 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/1.064, allocations: 46.33 kB / 0.8157 GB, free: 31.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.065, allocations: 60.72 kB / 0.8158 GB, free: 31.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.065, allocations: 354.2 kB / 0.8161 GB, free: 31.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/1.065, allocations: 72.59 kB / 0.8162 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/1.065, allocations: 160.5 kB / 0.8163 GB, free: 31.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/1.066, allocations: 160.3 kB / 0.8165 GB, free: 31.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.066, allocations: 0 / 0.8165 GB, free: 31.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005465/1.066, allocations: 255.6 kB / 0.8167 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.066, allocations: 5.125 kB / 0.8167 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.066, allocations: 4.688 kB / 0.8167 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.066, allocations: 3.906 kB / 0.8167 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/1.066, allocations: 51.05 kB / 0.8168 GB, free: 31.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.066, allocations: 1.25 kB / 0.8168 GB, free: 31.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/1.067, allocations: 36.34 kB / 0.8168 GB, free: 31.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/1.067, allocations: 8.562 kB / 0.8168 GB, free: 31.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004001/1.067, allocations: 192.2 kB / 0.817 GB, free: 30.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003661/1.068, allocations: 164.3 kB / 0.8172 GB, free: 30.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000363/1.068, allocations: 172.3 kB / 0.8173 GB, free: 30.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/1.068, allocations: 0.6562 kB / 0.8173 GB, free: 30.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005472/1.069, allocations: 252.7 kB / 0.8176 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.069, allocations: 6.062 kB / 0.8176 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/1.069, allocations: 1.031 kB / 0.8176 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-06/1.069, allocations: 2.625 kB / 0.8176 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/1.069, allocations: 50.75 kB / 0.8176 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.069, allocations: 3.016 kB / 0.8176 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/1.069, allocations: 30.34 kB / 0.8177 GB, free: 30.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/1.069, allocations: 16.59 kB / 0.8177 GB, free: 30.56 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 0.0001082/1.069, allocations: 197.7 kB / 0.8179 GB, free: 30.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/1.07, allocations: 42.64 kB / 0.8179 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/1.07, allocations: 255.8 kB / 0.8182 GB, free: 30.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/1.07, allocations: 2.422 kB / 0.8182 GB, free: 30.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.07, allocations: 1.188 kB / 0.8182 GB, free: 30.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.07, allocations: 1.406 kB / 0.8182 GB, free: 30.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/1.071, allocations: 0.7037 MB / 0.8188 GB, free: 29.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.071, allocations: 1.859 kB / 0.8188 GB, free: 29.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/1.071, allocations: 29.23 kB / 0.8189 GB, free: 29.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/1.071, allocations: 6.797 kB / 0.8189 GB, free: 29.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/1.071, allocations: 4.891 kB / 0.8189 GB, free: 29.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/1.071, allocations: 2.953 kB / 0.8189 GB, free: 29.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.071, allocations: 4.938 kB / 0.8189 GB, free: 29.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/1.072, allocations: 340.2 kB / 0.8192 GB, free: 29.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/1.072, allocations: 137.7 kB / 0.8193 GB, free: 29.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/1.072, allocations: 7.219 kB / 0.8194 GB, free: 29.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/1.072, allocations: 18.48 kB / 0.8194 GB, free: 29.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/1.072, allocations: 16.27 kB / 0.8194 GB, free: 29.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/1.072, allocations: 5.859 kB / 0.8194 GB, free: 29.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004587/1.073, allocations: 329.4 kB / 0.8197 GB, free: 29.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/1.073, allocations: 0 / 0.8197 GB, free: 29.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008863/1.074, allocations: 197.5 kB / 0.8199 GB, free: 29.17 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.00152/1.075, allocations: 486 kB / 0.8204 GB, free: 29.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008518/1.076, allocations: 270.4 kB / 0.8206 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.076, allocations: 1.406 kB / 0.8206 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/1.076, allocations: 84.75 kB / 0.8207 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.078, allocations: 205.7 kB / 0.8209 GB, free: 28.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/1.079, allocations: 0.7011 MB / 0.8216 GB, free: 28.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/1.08, allocations: 0.8287 MB / 0.8224 GB, free: 27.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003738/1.08, allocations: 88.45 kB / 0.8225 GB, free: 27.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/1.08, allocations: 39.97 kB / 0.8225 GB, free: 27.72 MB / 0.6544 GB Notification: Performance of SimCode: time 1.262e-06/1.08, allocations: 0 / 0.8225 GB, free: 27.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.02481/1.105, allocations: 8.539 MB / 0.8309 GB, free: 27.05 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)