Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 106.1 kB / 16.29 MB, free: 6.43 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.001243/0.001243, allocations: 184.6 kB / 17.22 MB, free: 5.934 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.659/1.659, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.81/1.81, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001443/0.001443, allocations: 67.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3045, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.6453/0.9498, allocations: 17.55 MB / 0.8012 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.9628, allocations: 7.486 MB / 0.8085 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.9645, allocations: 19.22 kB / 0.8085 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.9661, allocations: 254.7 kB / 0.8088 GB, free: 35.16 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.002788/0.9689, allocations: 0.6014 MB / 0.8094 GB, free: 34.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.972, allocations: 0.7085 MB / 0.8101 GB, free: 34.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002467/0.9745, allocations: 0.9622 MB / 0.811 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.9756, allocations: 343 kB / 0.8113 GB, free: 33.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.9771, allocations: 409.3 kB / 0.8117 GB, free: 33.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009716/0.9781, allocations: 317.4 kB / 0.812 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.9783, allocations: 29.59 kB / 0.8121 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.981, allocations: 0.7131 MB / 0.8128 GB, free: 33.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.9813, allocations: 131.2 kB / 0.8129 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.9819, allocations: 242.8 kB / 0.8131 GB, free: 33.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.9842, allocations: 0.8757 MB / 0.814 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.9842, allocations: 1.406 kB / 0.814 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9842, allocations: 3.938 kB / 0.814 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.9843, allocations: 0 / 0.814 GB, free: 32.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001435/0.9857, allocations: 0.8683 MB / 0.8148 GB, free: 32.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.9858, allocations: 9.25 kB / 0.8148 GB, free: 32.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.986, allocations: 59.25 kB / 0.8149 GB, free: 32.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.9867, allocations: 450.1 kB / 0.8153 GB, free: 31.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.9868, allocations: 28.5 kB / 0.8153 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.9868, allocations: 27.91 kB / 0.8154 GB, free: 31.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.9874, allocations: 287.5 kB / 0.8156 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.9874, allocations: 3.141 kB / 0.8156 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.9875, allocations: 7.562 kB / 0.8157 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.9875, allocations: 5.75 kB / 0.8157 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.988, allocations: 192.8 kB / 0.8158 GB, free: 31.52 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.002244/0.9902, allocations: 1.477 MB / 0.8173 GB, free: 30.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.9907, allocations: 159.7 kB / 0.8174 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.991, allocations: 91.97 kB / 0.8175 GB, free: 30.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/0.9928, allocations: 1.275 MB / 0.8188 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.9929, allocations: 36.16 kB / 0.8188 GB, free: 29.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 4.398e-06/0.9929, allocations: 0 / 0.8188 GB, free: 29.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0008199/0.9937, allocations: 248.7 kB / 0.819 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.9938, allocations: 53.84 kB / 0.8191 GB, free: 28.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009401/0.9947, allocations: 0.5818 MB / 0.8197 GB, free: 28.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.9948, allocations: 35.98 kB / 0.8197 GB, free: 28.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.995, allocations: 273.1 kB / 0.82 GB, free: 28.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.9951, allocations: 53.83 kB / 0.82 GB, free: 28.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.9952, allocations: 68.66 kB / 0.8201 GB, free: 28.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9953, allocations: 358.6 kB / 0.8204 GB, free: 27.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.9956, allocations: 81.36 kB / 0.8205 GB, free: 27.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.9959, allocations: 213.3 kB / 0.8207 GB, free: 27.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.9963, allocations: 235.4 kB / 0.8209 GB, free: 27.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.9963, allocations: 1.25 kB / 0.8209 GB, free: 27.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006589/0.997, allocations: 312.4 kB / 0.8212 GB, free: 27.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.997, allocations: 6.219 kB / 0.8212 GB, free: 27.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.9971, allocations: 7.5 kB / 0.8212 GB, free: 27.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.9971, allocations: 8.531 kB / 0.8212 GB, free: 27.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.9974, allocations: 63.8 kB / 0.8213 GB, free: 27.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.9974, allocations: 5.016 kB / 0.8213 GB, free: 27.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.9978, allocations: 41.17 kB / 0.8213 GB, free: 27.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.9978, allocations: 16.38 kB / 0.8214 GB, free: 27.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003508/0.9982, allocations: 213 kB / 0.8216 GB, free: 27.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003058/0.9985, allocations: 201.8 kB / 0.8218 GB, free: 27.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003941/0.9989, allocations: 235.9 kB / 0.822 GB, free: 26.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.9989, allocations: 0 / 0.822 GB, free: 26.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006568/0.9996, allocations: 310.2 kB / 0.8223 GB, free: 26.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.9996, allocations: 10.91 kB / 0.8223 GB, free: 26.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9996, allocations: 10.17 kB / 0.8223 GB, free: 26.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.9996, allocations: 6.219 kB / 0.8223 GB, free: 26.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.9999, allocations: 63.55 kB / 0.8224 GB, free: 26.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.9999, allocations: 5.391 kB / 0.8224 GB, free: 26.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/1, allocations: 33.19 kB / 0.8224 GB, free: 26.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/1, allocations: 13.06 kB / 0.8224 GB, free: 26.81 MB / 0.6544 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 0.0001216/1, allocations: 196.3 kB / 0.8226 GB, free: 26.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/1, allocations: 57.5 kB / 0.8227 GB, free: 26.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/1.001, allocations: 260.7 kB / 0.8229 GB, free: 26.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/1.001, allocations: 7.484 kB / 0.8229 GB, free: 26.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.001, allocations: 0 / 0.8229 GB, free: 26.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/1.001, allocations: 1.266 kB / 0.8229 GB, free: 26.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.003, allocations: 0.7385 MB / 0.8236 GB, free: 25.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/1.003, allocations: 1.312 kB / 0.8236 GB, free: 25.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/1.003, allocations: 34.78 kB / 0.8237 GB, free: 25.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/1.003, allocations: 1.312 kB / 0.8237 GB, free: 25.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.003, allocations: 7.25 kB / 0.8237 GB, free: 25.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.003, allocations: 3.016 kB / 0.8237 GB, free: 25.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.003, allocations: 1.375 kB / 0.8237 GB, free: 25.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/1.003, allocations: 348.1 kB / 0.824 GB, free: 25.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.003, allocations: 155.6 kB / 0.8242 GB, free: 25.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/1.003, allocations: 3.094 kB / 0.8242 GB, free: 25.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/1.004, allocations: 15.34 kB / 0.8242 GB, free: 25.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/1.004, allocations: 15.98 kB / 0.8242 GB, free: 25.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/1.004, allocations: 10.48 kB / 0.8242 GB, free: 25.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005984/1.004, allocations: 415.3 kB / 0.8246 GB, free: 25.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/1.004, allocations: 0 / 0.8246 GB, free: 25.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001066/1.006, allocations: 230.2 kB / 0.8248 GB, free: 25.36 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 (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.001433/1.007, allocations: 489.6 kB / 0.8253 GB, free: 25.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.008, allocations: 321.8 kB / 0.8256 GB, free: 25.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.008, allocations: 2.531 kB / 0.8256 GB, free: 25.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002423/1.008, allocations: 98.22 kB / 0.8257 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/1.01, allocations: 256.5 kB / 0.8259 GB, free: 25.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/1.011, allocations: 0.794 MB / 0.8267 GB, free: 24.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/1.012, allocations: 0.8457 MB / 0.8275 GB, free: 23.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004008/1.012, allocations: 98 kB / 0.8276 GB, free: 23.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/1.012, allocations: 42.7 kB / 0.8277 GB, free: 23.83 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/1.012, allocations: 0 / 0.8277 GB, free: 23.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.03025/1.042, allocations: 10.23 MB / 0.8377 GB, free: 22.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)