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.0009922/0.0009922, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007569/0.007569, allocations: 172 kB / 16.27 MB, free: 6.648 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.846/1.846, allocations: 205.4 MB / 222.5 MB, free: 5.789 MB / 174.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.774/1.774, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0008559/0.0008554, allocations: 11.09 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3225, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02509/0.3477, allocations: 16.94 MB / 0.8044 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.3624, allocations: 7.799 MB / 0.812 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.3635, allocations: 15.88 kB / 0.8121 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.3648, allocations: 203 kB / 0.8122 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.3675, allocations: 0.5638 MB / 0.8128 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.3702, allocations: 0.6341 MB / 0.8134 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.3722, allocations: 1.263 MB / 0.8146 GB, free: 84 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005674/0.3728, allocations: 286.6 kB / 0.8149 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008254/0.3737, allocations: 366.3 kB / 0.8153 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004705/0.3741, allocations: 306.7 kB / 0.8156 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.3742, allocations: 12 kB / 0.8156 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.3758, allocations: 0.6861 MB / 0.8162 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.376, allocations: 123.4 kB / 0.8164 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.3764, allocations: 244.4 kB / 0.8166 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.3777, allocations: 0.8411 MB / 0.8174 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3778, allocations: 0 / 0.8174 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3778, allocations: 4 kB / 0.8174 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.3778, allocations: 0 / 0.8174 GB, free: 13.22 MB / 0.6387 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.001366/0.3792, allocations: 0.7865 MB / 0.8182 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.3792, allocations: 8.031 kB / 0.8182 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.3794, allocations: 68.19 kB / 0.8183 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006385/0.3801, allocations: 449.3 kB / 0.8187 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.3801, allocations: 24.5 kB / 0.8187 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.3802, allocations: 28 kB / 0.8187 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.3807, allocations: 290.2 kB / 0.819 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3807, allocations: 4 kB / 0.819 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3808, allocations: 8 kB / 0.819 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3808, allocations: 8 kB / 0.819 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.3812, allocations: 202 kB / 0.8192 GB, free: 11.25 MB / 0.6387 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.001951/0.3832, allocations: 1.48 MB / 0.8207 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.3835, allocations: 166.8 kB / 0.8208 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.3837, allocations: 88.81 kB / 0.8209 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.3855, allocations: 1.291 MB / 0.8222 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.3855, allocations: 30.56 kB / 0.8222 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.3855, allocations: 0 / 0.8222 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0006557/0.3862, allocations: 272.1 kB / 0.8225 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.3863, allocations: 55.41 kB / 0.8225 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/0.387, allocations: 0.5807 MB / 0.8231 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.387, allocations: 29.7 kB / 0.8231 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.3872, allocations: 272.1 kB / 0.8234 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.3873, allocations: 67.12 kB / 0.8234 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.3873, allocations: 25.72 kB / 0.8235 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3875, allocations: 358.8 kB / 0.8238 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.3877, allocations: 76.52 kB / 0.8239 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.3879, allocations: 214.8 kB / 0.8241 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.3884, allocations: 247.9 kB / 0.8243 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3884, allocations: 0 / 0.8243 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005853/0.389, allocations: 320.7 kB / 0.8246 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.3891, allocations: 165.8 kB / 0.8248 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3891, allocations: 0 / 0.8248 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3892, allocations: 7.938 kB / 0.8248 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.3894, allocations: 67.91 kB / 0.8249 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.3895, allocations: 11.97 kB / 0.8249 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.3898, allocations: 43.67 kB / 0.8249 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.3899, allocations: 19.98 kB / 0.8249 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/0.3899, allocations: 4 kB / 0.8249 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004802/0.3904, allocations: 243.6 kB / 0.8252 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.3904, allocations: 4 kB / 0.8252 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.3904, allocations: 12.19 kB / 0.8252 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3906, allocations: 63.91 kB / 0.8252 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3906, allocations: 7.938 kB / 0.8252 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.3909, allocations: 51.66 kB / 0.8253 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.391, allocations: 8 kB / 0.8253 GB, free: 4.527 MB / 0.6387 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.000251/0.3912, allocations: 265.7 kB / 0.8256 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.3913, allocations: 51.36 kB / 0.8256 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/0.3919, allocations: 270.3 kB / 0.8259 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.3919, allocations: 7.984 kB / 0.8259 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3919, allocations: 0 / 0.8259 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3919, allocations: 0 / 0.8259 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.393, allocations: 0.7473 MB / 0.8266 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.393, allocations: 0 / 0.8266 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.3931, allocations: 35.92 kB / 0.8266 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3932, allocations: 0 / 0.8266 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.3932, allocations: 8 kB / 0.8266 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3932, allocations: 7.984 kB / 0.8267 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3932, allocations: 4.125 kB / 0.8267 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.3937, allocations: 366.3 kB / 0.827 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.3939, allocations: 160.5 kB / 0.8272 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.3939, allocations: 3.938 kB / 0.8272 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.3942, allocations: 23.97 kB / 0.8272 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.3942, allocations: 15.98 kB / 0.8272 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3942, allocations: 7.938 kB / 0.8272 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004801/0.3947, allocations: 418.8 kB / 0.8276 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3947, allocations: 0 / 0.8276 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008722/0.3956, allocations: 231.6 kB / 0.8278 GB, free: 1.812 MB / 0.6387 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.001281/0.3969, allocations: 496.3 kB / 0.8283 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007741/0.3977, allocations: 333.9 kB / 0.8286 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3977, allocations: 1 kB / 0.8286 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3979, allocations: 91.95 kB / 0.8287 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.3994, allocations: 256 kB / 0.829 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.4009, allocations: 0.9823 MB / 0.8299 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.4014, allocations: 0.8507 MB / 0.8307 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003732/0.4018, allocations: 96.67 kB / 0.8308 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.4019, allocations: 39.42 kB / 0.8309 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of SimCode: time 2.174e-06/0.4019, allocations: 0 / 0.8309 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.02008/0.422, allocations: 9.879 MB / 0.8405 GB, free: 5.023 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: