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.001042/0.001042, allocations: 107.9 kB / 16.27 MB, free: 6.016 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.0009675/0.0009675, allocations: 184.2 kB / 17.19 MB, free: 5.629 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.414/1.414, 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.795/1.795, 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.001435/0.001436, allocations: 68.38 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2644, allocations: 114.5 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.3961/0.6606, allocations: 17.56 MB / 0.8012 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009398/0.6701, allocations: 7.49 MB / 0.8085 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.6709, allocations: 18.97 kB / 0.8085 GB, free: 35.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009052/0.6718, allocations: 259.6 kB / 0.8087 GB, free: 35.21 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.001666/0.6735, allocations: 0.6031 MB / 0.8093 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.6755, allocations: 0.7011 MB / 0.81 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.6769, allocations: 0.9592 MB / 0.811 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.6774, allocations: 335.5 kB / 0.8113 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.6781, allocations: 413.4 kB / 0.8117 GB, free: 33.76 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.6786, allocations: 314.3 kB / 0.812 GB, free: 33.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.6786, allocations: 28.62 kB / 0.812 GB, free: 33.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.6803, allocations: 0.7125 MB / 0.8127 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.6804, allocations: 134.8 kB / 0.8128 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.6807, allocations: 238 kB / 0.813 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.6822, allocations: 0.8658 MB / 0.8139 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6822, allocations: 1.875 kB / 0.8139 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6823, allocations: 4 kB / 0.8139 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.6823, allocations: 0 / 0.8139 GB, free: 32.86 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.001263/0.6835, allocations: 0.8683 MB / 0.8147 GB, free: 32.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6836, allocations: 9.844 kB / 0.8148 GB, free: 32.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.6838, allocations: 59.14 kB / 0.8148 GB, free: 32.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.6844, allocations: 453.8 kB / 0.8152 GB, free: 31.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.6845, allocations: 24.84 kB / 0.8153 GB, free: 31.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.6845, allocations: 32.73 kB / 0.8153 GB, free: 31.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.6851, allocations: 280.8 kB / 0.8156 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.6851, allocations: 0.6875 kB / 0.8156 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.6852, allocations: 10.91 kB / 0.8156 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.6852, allocations: 6.969 kB / 0.8156 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.6856, allocations: 193.6 kB / 0.8158 GB, free: 31.58 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.001762/0.6874, allocations: 1.481 MB / 0.8172 GB, free: 30.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.6877, allocations: 165.7 kB / 0.8174 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.6879, allocations: 92.59 kB / 0.8175 GB, free: 30.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.6896, allocations: 1.273 MB / 0.8187 GB, free: 29.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.6897, allocations: 38.09 kB / 0.8187 GB, free: 29.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.6897, allocations: 0 / 0.8187 GB, free: 29.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0006844/0.6904, allocations: 244.8 kB / 0.819 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.6904, allocations: 54.19 kB / 0.819 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/0.6911, allocations: 0.5815 MB / 0.8196 GB, free: 28.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.6912, allocations: 38.05 kB / 0.8196 GB, free: 28.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.6914, allocations: 269.3 kB / 0.8199 GB, free: 28.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.6914, allocations: 51.59 kB / 0.8199 GB, free: 28.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.6915, allocations: 69.17 kB / 0.82 GB, free: 28.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.6916, allocations: 358 kB / 0.8203 GB, free: 27.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.6918, allocations: 79.81 kB / 0.8204 GB, free: 27.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.6921, allocations: 213.5 kB / 0.8206 GB, free: 27.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.6925, allocations: 238.7 kB / 0.8209 GB, free: 27.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6925, allocations: 0 / 0.8209 GB, free: 27.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005688/0.6931, allocations: 312.8 kB / 0.8212 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6931, allocations: 6.219 kB / 0.8212 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6931, allocations: 6.922 kB / 0.8212 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.6931, allocations: 4.531 kB / 0.8212 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.6934, allocations: 68.95 kB / 0.8212 GB, free: 27.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.6934, allocations: 3.844 kB / 0.8212 GB, free: 27.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.6937, allocations: 42.28 kB / 0.8213 GB, free: 27.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.6938, allocations: 12.19 kB / 0.8213 GB, free: 27.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003029/0.6941, allocations: 213.8 kB / 0.8215 GB, free: 27.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002531/0.6944, allocations: 204.2 kB / 0.8217 GB, free: 27.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003539/0.6947, allocations: 237.8 kB / 0.8219 GB, free: 27.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-06/0.6947, allocations: 0 / 0.8219 GB, free: 27.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005601/0.6953, allocations: 310 kB / 0.8222 GB, free: 26.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6953, allocations: 11.59 kB / 0.8222 GB, free: 26.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6953, allocations: 11.17 kB / 0.8222 GB, free: 26.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.6953, allocations: 4.281 kB / 0.8222 GB, free: 26.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.6956, allocations: 59.75 kB / 0.8223 GB, free: 26.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.6956, allocations: 4.625 kB / 0.8223 GB, free: 26.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.6959, allocations: 42.2 kB / 0.8223 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.696, allocations: 11.95 kB / 0.8224 GB, free: 26.86 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 9.655e-05/0.6961, allocations: 200 kB / 0.8225 GB, free: 26.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.6961, allocations: 53.84 kB / 0.8226 GB, free: 26.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005579/0.6967, allocations: 253.9 kB / 0.8228 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.6967, allocations: 3.344 kB / 0.8228 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6967, allocations: 2.812 kB / 0.8228 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6968, allocations: 2.453 kB / 0.8228 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.6978, allocations: 0.7443 MB / 0.8236 GB, free: 26.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.6979, allocations: 0.9688 kB / 0.8236 GB, free: 26.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.698, allocations: 28.8 kB / 0.8236 GB, free: 26.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.698, allocations: 2.688 kB / 0.8236 GB, free: 26.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.698, allocations: 15.36 kB / 0.8236 GB, free: 26.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.698, allocations: 3.25 kB / 0.8236 GB, free: 26.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.698, allocations: 1.438 kB / 0.8236 GB, free: 26.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.6985, allocations: 347.3 kB / 0.824 GB, free: 25.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.6986, allocations: 142.7 kB / 0.8241 GB, free: 25.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.6987, allocations: 7.156 kB / 0.8241 GB, free: 25.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.6989, allocations: 13.41 kB / 0.8241 GB, free: 25.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.699, allocations: 18.7 kB / 0.8241 GB, free: 25.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.699, allocations: 6.484 kB / 0.8241 GB, free: 25.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004779/0.6995, allocations: 419.4 kB / 0.8245 GB, free: 25.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6995, allocations: 4 kB / 0.8245 GB, free: 25.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000857/0.7004, allocations: 226.4 kB / 0.8248 GB, free: 25.41 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.001154/0.7015, allocations: 0.491 MB / 0.8252 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000786/0.7023, allocations: 325.4 kB / 0.8255 GB, free: 25.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7023, allocations: 5.594 kB / 0.8255 GB, free: 25.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.7025, allocations: 86.73 kB / 0.8256 GB, free: 25.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.7038, allocations: 251.7 kB / 0.8259 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.7052, allocations: 0.8462 MB / 0.8267 GB, free: 24.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.7056, allocations: 0.8429 MB / 0.8275 GB, free: 23.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.7057, allocations: 44.14 kB / 0.8276 GB, free: 23.87 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.7057, allocations: 0 / 0.8276 GB, free: 23.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.01795/0.7237, allocations: 8.542 MB / 0.8359 GB, free: 23 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)