Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.01082/0.01082, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001787/0.001787, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.001474/0.001475, allocations: 71.91 kB / 0.7258 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.8061, allocations: 104.7 MB / 0.828 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01847/0.8246, allocations: 15.72 MB / 0.8434 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.8374, allocations: 7.031 MB / 0.8502 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.8386, allocations: 23.81 kB / 0.8503 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.8399, allocations: 270.3 kB / 0.8505 GB, free: 11.52 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.002194/0.8421, allocations: 0.6005 MB / 0.8511 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.8445, allocations: 0.6908 MB / 0.8518 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.8463, allocations: 1.025 MB / 0.8528 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005641/0.8469, allocations: 331.8 kB / 0.8531 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007684/0.8476, allocations: 406.4 kB / 0.8535 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.8481, allocations: 318.6 kB / 0.8538 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.8481, allocations: 24 kB / 0.8538 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.8493, allocations: 0.62 MB / 0.8544 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.8495, allocations: 103.5 kB / 0.8545 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.8498, allocations: 222.8 kB / 0.8547 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.851, allocations: 0.7577 MB / 0.8555 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.851, allocations: 0 / 0.8555 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.851, allocations: 0 / 0.8555 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.851, allocations: 0 / 0.8555 GB, free: 6.445 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.001544/0.8526, allocations: 0.8213 MB / 0.8563 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.8526, allocations: 12.03 kB / 0.8563 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.8528, allocations: 60.22 kB / 0.8563 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008428/0.8536, allocations: 437 kB / 0.8568 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.8537, allocations: 24.44 kB / 0.8568 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.8537, allocations: 24 kB / 0.8568 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.8543, allocations: 207.2 kB / 0.857 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.8543, allocations: 0 / 0.857 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.8543, allocations: 15.97 kB / 0.857 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.8543, allocations: 8 kB / 0.857 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.8548, allocations: 165.6 kB / 0.8572 GB, free: 4.598 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.00176/0.8565, allocations: 0.9301 MB / 0.8581 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.8569, allocations: 130.5 kB / 0.8582 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.857, allocations: 68.81 kB / 0.8583 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/0.8574, allocations: 344.4 kB / 0.8586 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.8574, allocations: 30.56 kB / 0.8586 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.8574, allocations: 0 / 0.8586 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0006349/0.858, allocations: 240.2 kB / 0.8589 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.8581, allocations: 59.39 kB / 0.8589 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.8586, allocations: 473.9 kB / 0.8594 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.8587, allocations: 33.7 kB / 0.8594 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.8589, allocations: 232.6 kB / 0.8596 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.8589, allocations: 43.3 kB / 0.8597 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.869e-05/0.859, allocations: 61.61 kB / 0.8597 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.8592, allocations: 358.7 kB / 0.8601 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.8594, allocations: 68.81 kB / 0.8601 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.8597, allocations: 157.3 kB / 0.8603 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.86, allocations: 154.5 kB / 0.8604 GB, free: 1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.8601, allocations: 4 kB / 0.8604 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000568/0.8606, allocations: 255.9 kB / 0.8607 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.8607, allocations: 4 kB / 0.8607 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.8607, allocations: 0 / 0.8607 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.8607, allocations: 4.094 kB / 0.8607 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.861, allocations: 51.91 kB / 0.8607 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.861, allocations: 0 / 0.8607 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.8613, allocations: 47.64 kB / 0.8608 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.8613, allocations: 8 kB / 0.8608 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003164/0.8617, allocations: 192 kB / 0.861 GB, free: 448 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002607/0.8619, allocations: 159.8 kB / 0.8611 GB, free: 256 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00034/0.8623, allocations: 168.2 kB / 0.8613 GB, free: 72 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.045e-06/0.8623, allocations: 0 / 0.8613 GB, free: 72 kB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004971/0.8628, allocations: 249.2 kB / 0.8615 GB, free: 15.82 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.8628, allocations: 12 kB / 0.8615 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.8628, allocations: 3.938 kB / 0.8615 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.838e-06/0.8628, allocations: 4 kB / 0.8616 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.8631, allocations: 47.91 kB / 0.8616 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.8631, allocations: 4 kB / 0.8616 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.8634, allocations: 35.81 kB / 0.8616 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.8634, allocations: 8 kB / 0.8616 GB, free: 15.71 MB / 0.67 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.000136/0.8636, allocations: 200.1 kB / 0.8618 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.8636, allocations: 43.44 kB / 0.8619 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005477/0.8642, allocations: 241.2 kB / 0.8621 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.8642, allocations: 4 kB / 0.8621 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8642, allocations: 0 / 0.8621 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8642, allocations: 0 / 0.8621 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.8653, allocations: 0.7097 MB / 0.8628 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.8653, allocations: 0 / 0.8628 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.8654, allocations: 27.98 kB / 0.8628 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.8654, allocations: 7.938 kB / 0.8628 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.8654, allocations: 12.06 kB / 0.8628 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.8655, allocations: 7.984 kB / 0.8629 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8655, allocations: 0 / 0.8629 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.8659, allocations: 334.3 kB / 0.8632 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.8661, allocations: 140.5 kB / 0.8633 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.8662, allocations: 7.922 kB / 0.8633 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.8664, allocations: 15.98 kB / 0.8633 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.8664, allocations: 11.98 kB / 0.8633 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.8665, allocations: 8 kB / 0.8634 GB, free: 13.83 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000365/0.8668, allocations: 330.9 kB / 0.8637 GB, free: 13.51 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8668, allocations: 4 kB / 0.8637 GB, free: 13.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007171/0.8676, allocations: 199.7 kB / 0.8639 GB, free: 13.31 MB / 0.67 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.001285/0.8688, allocations: 490.4 kB / 0.8643 GB, free: 12.96 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007092/0.8696, allocations: 267.7 kB / 0.8646 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8696, allocations: 0 / 0.8646 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.8698, allocations: 83.89 kB / 0.8647 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.8708, allocations: 205.2 kB / 0.8649 GB, free: 12.42 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.8723, allocations: 0.6896 MB / 0.8655 GB, free: 11.69 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.8729, allocations: 0.823 MB / 0.8663 GB, free: 10.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002767/0.8732, allocations: 87.56 kB / 0.8664 GB, free: 10.75 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.8733, allocations: 43.42 kB / 0.8665 GB, free: 10.71 MB / 0.67 GB Notification: Performance of SimCode: time 1.032e-06/0.8733, allocations: 0 / 0.8665 GB, free: 10.71 MB / 0.67 GB Notification: Performance of Templates: time 0.01714/0.8905, allocations: 8.574 MB / 0.8748 GB, free: 2.27 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)