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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0012/0.0012, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.534/1.534, allocations: 205.1 MB / 222 MB, free: 4.742 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.635/1.635, allocations: 251.6 MB / 0.5088 GB, free: 3.402 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.00133/0.00133, allocations: 63.91 kB / 0.6216 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4807, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02538/0.5061, allocations: 17.51 MB / 0.7409 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.5214, allocations: 7.892 MB / 0.7486 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.5225, allocations: 19.88 kB / 0.7486 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.5238, allocations: 210.9 kB / 0.7488 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.5257, allocations: 0.556 MB / 0.7494 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.5278, allocations: 0.6372 MB / 0.75 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001727/0.5296, allocations: 1.278 MB / 0.7512 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006194/0.5302, allocations: 296.7 kB / 0.7515 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000866/0.5311, allocations: 378.3 kB / 0.7519 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.5317, allocations: 310.7 kB / 0.7522 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.5318, allocations: 24 kB / 0.7522 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.533, allocations: 0.6861 MB / 0.7529 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.5332, allocations: 131.5 kB / 0.753 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.5334, allocations: 242.5 kB / 0.7532 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.5345, allocations: 0.8568 MB / 0.7541 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5345, allocations: 0 / 0.7541 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5346, allocations: 0 / 0.7541 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.5346, allocations: 0 / 0.7541 GB, free: 14.06 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.001355/0.5359, allocations: 0.872 MB / 0.7549 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.536, allocations: 12.03 kB / 0.7549 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.5362, allocations: 64.17 kB / 0.755 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.5368, allocations: 453.9 kB / 0.7554 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.5368, allocations: 20.56 kB / 0.7554 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.5369, allocations: 31.94 kB / 0.7555 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.5374, allocations: 280.5 kB / 0.7557 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5374, allocations: 4 kB / 0.7557 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.5375, allocations: 11.98 kB / 0.7558 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.5375, allocations: 8 kB / 0.7558 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.5379, allocations: 198.1 kB / 0.756 GB, free: 12.02 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.001709/0.5396, allocations: 1.281 MB / 0.7572 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.54, allocations: 198.8 kB / 0.7574 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.5402, allocations: 88.81 kB / 0.7575 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/0.5418, allocations: 1.307 MB / 0.7588 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.5418, allocations: 30.56 kB / 0.7588 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.5418, allocations: 0 / 0.7588 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0006842/0.5425, allocations: 274.5 kB / 0.759 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5426, allocations: 63.41 kB / 0.7591 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/0.5432, allocations: 0.573 MB / 0.7597 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.5432, allocations: 33.7 kB / 0.7597 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.5435, allocations: 264.1 kB / 0.7599 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.5435, allocations: 67.09 kB / 0.76 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5436, allocations: 73.48 kB / 0.7601 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5438, allocations: 362.9 kB / 0.7604 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.544, allocations: 88.81 kB / 0.7605 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.5443, allocations: 203.9 kB / 0.7607 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.5447, allocations: 242.4 kB / 0.7609 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5447, allocations: 0 / 0.7609 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005917/0.5453, allocations: 324.6 kB / 0.7612 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5453, allocations: 7.938 kB / 0.7613 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5454, allocations: 4 kB / 0.7613 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5454, allocations: 4 kB / 0.7613 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.5456, allocations: 64.09 kB / 0.7613 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5457, allocations: 7.938 kB / 0.7613 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.546, allocations: 43.66 kB / 0.7614 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.546, allocations: 16.09 kB / 0.7614 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003054/0.5464, allocations: 228 kB / 0.7616 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002946/0.5467, allocations: 204.9 kB / 0.7618 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003853/0.5471, allocations: 242.4 kB / 0.762 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.5471, allocations: 0 / 0.762 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0005874/0.5477, allocations: 320.7 kB / 0.7623 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.5477, allocations: 4 kB / 0.7623 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5477, allocations: 4 kB / 0.7623 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.5477, allocations: 4 kB / 0.7624 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.5479, allocations: 63.91 kB / 0.7624 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5479, allocations: 7.984 kB / 0.7624 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.5483, allocations: 43.95 kB / 0.7625 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.5483, allocations: 15.98 kB / 0.7625 GB, free: 4.824 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.0001242/0.5485, allocations: 200.1 kB / 0.7627 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.5485, allocations: 51.34 kB / 0.7627 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/0.5491, allocations: 282.1 kB / 0.763 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.5491, allocations: 8 kB / 0.763 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5492, allocations: 0 / 0.763 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5492, allocations: 0 / 0.763 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.5503, allocations: 0.769 MB / 0.7637 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.5503, allocations: 4 kB / 0.7637 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.5505, allocations: 40.11 kB / 0.7638 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5505, allocations: 0 / 0.7638 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.5505, allocations: 4 kB / 0.7638 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.5505, allocations: 0 / 0.7638 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5505, allocations: 11.92 kB / 0.7638 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/0.5512, allocations: 478.4 kB / 0.7643 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.5513, allocations: 152.4 kB / 0.7644 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.5514, allocations: 4.062 kB / 0.7644 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.5516, allocations: 19.89 kB / 0.7644 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.5517, allocations: 15.98 kB / 0.7644 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5517, allocations: 8 kB / 0.7644 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004042/0.5521, allocations: 414.8 kB / 0.7648 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5521, allocations: 0 / 0.7648 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006986/0.5528, allocations: 231.8 kB / 0.7651 GB, free: 2.047 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.001023/0.5539, allocations: 0.4893 MB / 0.7655 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007126/0.5546, allocations: 347.4 kB / 0.7659 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5546, allocations: 0.75 kB / 0.7659 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.5548, allocations: 104.1 kB / 0.766 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.5561, allocations: 250.7 kB / 0.7662 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.5576, allocations: 1.019 MB / 0.7672 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.558, allocations: 0.8507 MB / 0.768 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003411/0.5584, allocations: 108.3 kB / 0.7681 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.5585, allocations: 39.44 kB / 0.7682 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.5585, allocations: 0 / 0.7682 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of Templates: time 0.0158/0.5743, allocations: 10.11 MB / 0.7781 GB, free: 4.961 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)