Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001592/0.001592, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00201/0.00201, allocations: 188 kB / 16.25 MB, free: 6.625 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.568/1.568, allocations: 205.1 MB / 222.1 MB, free: 4.754 MB / 174.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.585/1.585, allocations: 251.6 MB / 0.5089 GB, free: 3.301 MB / 414.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.001421/0.001421, allocations: 67.91 kB / 0.6218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5041, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01896/0.5231, allocations: 17.47 MB / 0.741 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.5346, allocations: 7.513 MB / 0.7484 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00091/0.5355, allocations: 19.88 kB / 0.7484 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009515/0.5366, allocations: 226.9 kB / 0.7486 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.5382, allocations: 0.5561 MB / 0.7492 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.5401, allocations: 0.646 MB / 0.7498 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.5414, allocations: 0.9819 MB / 0.7508 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005183/0.5419, allocations: 336.9 kB / 0.7511 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006794/0.5426, allocations: 414.3 kB / 0.7515 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.543, allocations: 326.6 kB / 0.7518 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.5431, allocations: 32 kB / 0.7518 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.5442, allocations: 0.7174 MB / 0.7525 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.5444, allocations: 135.5 kB / 0.7526 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.5446, allocations: 250.6 kB / 0.7529 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.5459, allocations: 0.8724 MB / 0.7537 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5459, allocations: 0 / 0.7537 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5459, allocations: 0 / 0.7537 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.5459, allocations: 4 kB / 0.7537 GB, free: 14.55 MB / 0.5762 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.001261/0.5472, allocations: 0.872 MB / 0.7546 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5472, allocations: 12.03 kB / 0.7546 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.5474, allocations: 68.17 kB / 0.7547 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.548, allocations: 453.8 kB / 0.7551 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.548, allocations: 24.56 kB / 0.7551 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.5481, allocations: 31.94 kB / 0.7552 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.5486, allocations: 280.5 kB / 0.7554 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5486, allocations: 0 / 0.7554 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.5487, allocations: 12 kB / 0.7554 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.5487, allocations: 4 kB / 0.7554 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.5491, allocations: 198.1 kB / 0.7556 GB, free: 12.52 MB / 0.5762 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.001786/0.5509, allocations: 1.285 MB / 0.7569 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.5513, allocations: 194.8 kB / 0.7571 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.5514, allocations: 88.81 kB / 0.7571 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/0.5531, allocations: 1.299 MB / 0.7584 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.5531, allocations: 34.56 kB / 0.7585 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.5531, allocations: 0 / 0.7585 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0006837/0.5538, allocations: 282.6 kB / 0.7587 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5539, allocations: 55.41 kB / 0.7588 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/0.5545, allocations: 0.5809 MB / 0.7593 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.5546, allocations: 25.7 kB / 0.7594 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.5548, allocations: 276.1 kB / 0.7596 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.5548, allocations: 63.09 kB / 0.7597 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.5549, allocations: 73.55 kB / 0.7598 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5551, allocations: 362.9 kB / 0.7601 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.5553, allocations: 84.81 kB / 0.7602 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.5556, allocations: 203.9 kB / 0.7604 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.556, allocations: 242.8 kB / 0.7606 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.556, allocations: 0 / 0.7606 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005657/0.5566, allocations: 320.7 kB / 0.7609 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5566, allocations: 15.88 kB / 0.7609 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5566, allocations: 0 / 0.7609 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5567, allocations: 4 kB / 0.7609 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.5569, allocations: 68.09 kB / 0.761 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5569, allocations: 11.98 kB / 0.761 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.5573, allocations: 43.66 kB / 0.7611 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.5573, allocations: 12.09 kB / 0.7611 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000306/0.5576, allocations: 224 kB / 0.7613 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002805/0.5579, allocations: 212.8 kB / 0.7615 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003639/0.5583, allocations: 242.6 kB / 0.7617 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.5583, allocations: 0 / 0.7617 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0005487/0.5589, allocations: 324.7 kB / 0.762 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.5589, allocations: 4 kB / 0.762 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.5589, allocations: 4 kB / 0.762 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-06/0.5589, allocations: 4 kB / 0.762 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.5591, allocations: 59.91 kB / 0.7621 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5591, allocations: 4 kB / 0.7621 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.5595, allocations: 44 kB / 0.7621 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.5595, allocations: 15.98 kB / 0.7622 GB, free: 5.309 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * 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.0001333/0.5596, allocations: 200.1 kB / 0.7623 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.5597, allocations: 47.34 kB / 0.7624 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005767/0.5603, allocations: 294.6 kB / 0.7627 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5603, allocations: 7.984 kB / 0.7627 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5603, allocations: 0 / 0.7627 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5603, allocations: 0 / 0.7627 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5614, allocations: 0.7648 MB / 0.7634 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5614, allocations: 0 / 0.7634 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.5615, allocations: 35.97 kB / 0.7635 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5616, allocations: 4 kB / 0.7635 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.5616, allocations: 8 kB / 0.7635 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5616, allocations: 3.938 kB / 0.7635 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5616, allocations: 7.938 kB / 0.7635 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.5623, allocations: 464.3 kB / 0.7639 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.5625, allocations: 148.4 kB / 0.7641 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.5625, allocations: 11.98 kB / 0.7641 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.5627, allocations: 19.95 kB / 0.7641 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.5628, allocations: 19.92 kB / 0.7641 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.5628, allocations: 8 kB / 0.7641 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004222/0.5633, allocations: 414.8 kB / 0.7645 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5633, allocations: 0 / 0.7645 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007388/0.564, allocations: 227.8 kB / 0.7647 GB, free: 2.535 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * 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.001126/0.5651, allocations: 0.4991 MB / 0.7652 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007529/0.5659, allocations: 367.3 kB / 0.7656 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5659, allocations: 0 / 0.7656 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.5661, allocations: 100.8 kB / 0.7657 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.5673, allocations: 252.9 kB / 0.7659 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.5688, allocations: 1.018 MB / 0.7669 GB, free: 420 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.5692, allocations: 0.8544 MB / 0.7677 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003305/0.5695, allocations: 112.2 kB / 0.7678 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.5696, allocations: 35.44 kB / 0.7679 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.5696, allocations: 0 / 0.7679 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.01686/0.5865, allocations: 10.31 MB / 0.7779 GB, free: 5.23 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)