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.001176/0.001176, allocations: 107.5 kB / 16.35 MB, free: 5.879 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.001134/0.001134, allocations: 194.3 kB / 17.29 MB, free: 5.516 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.498/1.498, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.999/1.999, allocations: 292.3 MB / 0.5496 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.001434/0.001434, allocations: 63.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.265, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.446/0.711, allocations: 17.55 MB / 0.8019 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009305/0.7204, allocations: 7.488 MB / 0.8092 GB, free: 35.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008186/0.7212, allocations: 16.97 kB / 0.8092 GB, free: 35.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000925/0.7222, allocations: 255.8 kB / 0.8095 GB, free: 35.02 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.00192/0.7242, allocations: 0.6068 MB / 0.8101 GB, free: 34.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.7263, allocations: 0.7056 MB / 0.8108 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.7277, allocations: 0.965 MB / 0.8117 GB, free: 33.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005144/0.7282, allocations: 335.6 kB / 0.812 GB, free: 33.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006871/0.7289, allocations: 407.9 kB / 0.8124 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004248/0.7294, allocations: 313.2 kB / 0.8127 GB, free: 33.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.7294, allocations: 28.81 kB / 0.8127 GB, free: 33.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.7312, allocations: 0.7262 MB / 0.8135 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.7315, allocations: 132 kB / 0.8136 GB, free: 33.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.7318, allocations: 241.2 kB / 0.8138 GB, free: 32.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.734, allocations: 0.877 MB / 0.8147 GB, free: 32.65 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.734, allocations: 0 / 0.8147 GB, free: 32.65 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.615e-06/0.734, allocations: 0.5312 kB / 0.8147 GB, free: 32.65 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.734, allocations: 0 / 0.8147 GB, free: 32.65 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.001555/0.7356, allocations: 0.8724 MB / 0.8155 GB, free: 31.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.7356, allocations: 9.344 kB / 0.8155 GB, free: 31.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.7358, allocations: 64.02 kB / 0.8156 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.7364, allocations: 455.2 kB / 0.816 GB, free: 31.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.7365, allocations: 22.03 kB / 0.816 GB, free: 31.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.7365, allocations: 28.16 kB / 0.8161 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.7371, allocations: 290.7 kB / 0.8163 GB, free: 31.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7371, allocations: 0 / 0.8163 GB, free: 31.44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.7371, allocations: 11.38 kB / 0.8164 GB, free: 31.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.7371, allocations: 5.188 kB / 0.8164 GB, free: 31.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.7376, allocations: 190.4 kB / 0.8165 GB, free: 31.37 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.002/0.7396, allocations: 1.47 MB / 0.818 GB, free: 30.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.74, allocations: 157.5 kB / 0.8181 GB, free: 30.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.7402, allocations: 89.3 kB / 0.8182 GB, free: 30.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/0.7417, allocations: 1.274 MB / 0.8195 GB, free: 28.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.7418, allocations: 34.91 kB / 0.8195 GB, free: 28.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.364e-06/0.7418, allocations: 4.562 kB / 0.8195 GB, free: 28.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0006517/0.7424, allocations: 253 kB / 0.8197 GB, free: 28.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.7425, allocations: 54.53 kB / 0.8198 GB, free: 28.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006707/0.7432, allocations: 0.5809 MB / 0.8204 GB, free: 28.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.7432, allocations: 27.95 kB / 0.8204 GB, free: 28.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.7434, allocations: 269.9 kB / 0.8206 GB, free: 28.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.7434, allocations: 51.38 kB / 0.8207 GB, free: 28.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.7435, allocations: 69.53 kB / 0.8208 GB, free: 28.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.7436, allocations: 359.4 kB / 0.8211 GB, free: 27.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.7438, allocations: 79.56 kB / 0.8212 GB, free: 27.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.7441, allocations: 222.7 kB / 0.8214 GB, free: 27.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.7445, allocations: 230 kB / 0.8216 GB, free: 27.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7445, allocations: 1.828 kB / 0.8216 GB, free: 27.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000581/0.7451, allocations: 324.9 kB / 0.8219 GB, free: 27.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7451, allocations: 7.125 kB / 0.8219 GB, free: 27.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7451, allocations: 2.719 kB / 0.8219 GB, free: 27.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.7451, allocations: 4.5 kB / 0.8219 GB, free: 27.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.7454, allocations: 59.95 kB / 0.822 GB, free: 27.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.7454, allocations: 10.8 kB / 0.822 GB, free: 27.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.7457, allocations: 49.69 kB / 0.8221 GB, free: 27.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.7458, allocations: 12.33 kB / 0.8221 GB, free: 27.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003187/0.7461, allocations: 214 kB / 0.8223 GB, free: 27.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002629/0.7464, allocations: 205.4 kB / 0.8225 GB, free: 26.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003473/0.7467, allocations: 233.6 kB / 0.8227 GB, free: 26.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.7468, allocations: 1.344 kB / 0.8227 GB, free: 26.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005672/0.7473, allocations: 309.4 kB / 0.823 GB, free: 26.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.7474, allocations: 12.38 kB / 0.823 GB, free: 26.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7474, allocations: 3.406 kB / 0.823 GB, free: 26.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.7474, allocations: 5.047 kB / 0.823 GB, free: 26.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.7476, allocations: 60.34 kB / 0.8231 GB, free: 26.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.7476, allocations: 13.44 kB / 0.8231 GB, free: 26.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.748, allocations: 33.62 kB / 0.8231 GB, free: 26.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.748, allocations: 15.84 kB / 0.8231 GB, free: 26.66 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.926e-05/0.7481, allocations: 195.8 kB / 0.8233 GB, free: 26.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.7482, allocations: 53.88 kB / 0.8234 GB, free: 26.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/0.7488, allocations: 252.4 kB / 0.8236 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.7488, allocations: 3.016 kB / 0.8236 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7488, allocations: 0 / 0.8236 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7488, allocations: 2.266 kB / 0.8236 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.7499, allocations: 0.7442 MB / 0.8243 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.7499, allocations: 2 kB / 0.8243 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.75, allocations: 29.31 kB / 0.8244 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.75, allocations: 1.312 kB / 0.8244 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.75, allocations: 3.344 kB / 0.8244 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.75, allocations: 2.438 kB / 0.8244 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7501, allocations: 9.109 kB / 0.8244 GB, free: 25.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.7505, allocations: 357.2 kB / 0.8247 GB, free: 25.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.7507, allocations: 142.9 kB / 0.8249 GB, free: 25.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.7508, allocations: 9.047 kB / 0.8249 GB, free: 25.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.751, allocations: 13.84 kB / 0.8249 GB, free: 25.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.751, allocations: 18.86 kB / 0.8249 GB, free: 25.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.7511, allocations: 7.047 kB / 0.8249 GB, free: 25.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005447/0.7516, allocations: 423.1 kB / 0.8253 GB, free: 25.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7516, allocations: 0 / 0.8253 GB, free: 25.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000956/0.7526, allocations: 226.1 kB / 0.8255 GB, free: 25.21 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.001195/0.7538, allocations: 0.4905 MB / 0.826 GB, free: 25.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007896/0.7546, allocations: 322.7 kB / 0.8263 GB, free: 24.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7546, allocations: 0 / 0.8263 GB, free: 24.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.7548, allocations: 87.77 kB / 0.8264 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.756, allocations: 256 kB / 0.8266 GB, free: 24.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.7575, allocations: 0.7997 MB / 0.8274 GB, free: 24.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.7579, allocations: 0.8443 MB / 0.8282 GB, free: 23.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004805/0.7584, allocations: 101.7 kB / 0.8283 GB, free: 23.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.7585, allocations: 36.83 kB / 0.8284 GB, free: 23.69 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.7585, allocations: 1.375 kB / 0.8284 GB, free: 23.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.02178/0.7803, allocations: 10.23 MB / 0.8384 GB, free: 22.63 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)