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.00105/0.00105, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001651/0.001651, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.647/1.647, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0005363/0.0005363, allocations: 16 kB / 0.6241 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6568, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01428/0.6711, allocations: 13.27 MB / 0.7409 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.6815, allocations: 6.346 MB / 0.7471 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007596/0.6822, allocations: 15.81 kB / 0.7472 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.6835, allocations: 342.6 kB / 0.7475 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.6855, allocations: 0.6106 MB / 0.7481 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005697/0.6912, allocations: 1.813 MB / 0.7498 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.6927, allocations: 0.6326 MB / 0.7505 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.6932, allocations: 262.5 kB / 0.7507 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/0.6938, allocations: 334.8 kB / 0.751 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.6941, allocations: 227 kB / 0.7512 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.6941, allocations: 12 kB / 0.7513 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008317/0.695, allocations: 387.4 kB / 0.7516 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.6951, allocations: 83.66 kB / 0.7517 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.6952, allocations: 105.5 kB / 0.7518 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.6958, allocations: 474.9 kB / 0.7523 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6958, allocations: 4 kB / 0.7523 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6958, allocations: 0 / 0.7523 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.6958, allocations: 0 / 0.7523 GB, free: 2.539 MB / 0.5606 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.001139/0.697, allocations: 0.7356 MB / 0.753 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.697, allocations: 8.562 kB / 0.753 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.6971, allocations: 59.39 kB / 0.753 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.6977, allocations: 389 kB / 0.7534 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.6977, allocations: 20.44 kB / 0.7534 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.6978, allocations: 28 kB / 0.7535 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.6982, allocations: 219.2 kB / 0.7537 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6982, allocations: 0 / 0.7537 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.6982, allocations: 4 kB / 0.7537 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.6982, allocations: 8 kB / 0.7537 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.6986, allocations: 177.6 kB / 0.7539 GB, free: 0.8125 MB / 0.5606 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.001524/0.7001, allocations: 0.9497 MB / 0.7548 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.7004, allocations: 134.5 kB / 0.7549 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.7007, allocations: 336.4 kB / 0.7552 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.7007, allocations: 30.56 kB / 0.7553 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.7007, allocations: 4 kB / 0.7553 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0005811/0.7013, allocations: 248.4 kB / 0.7555 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.7014, allocations: 59.41 kB / 0.7556 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.7019, allocations: 466 kB / 0.756 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.7019, allocations: 37.64 kB / 0.756 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.7021, allocations: 232.6 kB / 0.7563 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.7022, allocations: 43.27 kB / 0.7563 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.7022, allocations: 8 kB / 0.7563 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7023, allocations: 358.7 kB / 0.7567 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.7025, allocations: 71.95 kB / 0.7567 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.7027, allocations: 145.9 kB / 0.7569 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.7029, allocations: 91.89 kB / 0.7569 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.703, allocations: 3.953 kB / 0.757 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004751/0.7034, allocations: 259.5 kB / 0.7572 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.7036, allocations: 271 kB / 0.7575 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7036, allocations: 0 / 0.7575 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7036, allocations: 0 / 0.7575 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.7038, allocations: 59.92 kB / 0.7575 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.7038, allocations: 3.938 kB / 0.7575 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.7042, allocations: 47.66 kB / 0.7576 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.7042, allocations: 8 kB / 0.7576 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.7042, allocations: 4 kB / 0.7576 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003824/0.7046, allocations: 191.9 kB / 0.7578 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.7046, allocations: 0 / 0.7578 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.7046, allocations: 4 kB / 0.7578 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.7048, allocations: 43.97 kB / 0.7578 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.7048, allocations: 4 kB / 0.7578 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.7051, allocations: 47.66 kB / 0.7579 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.7051, allocations: 15.98 kB / 0.7579 GB, free: 12.44 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.7054, allocations: 237.1 kB / 0.7581 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.7054, allocations: 51.42 kB / 0.7581 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/0.706, allocations: 255.2 kB / 0.7584 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.706, allocations: 4 kB / 0.7584 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.706, allocations: 4 kB / 0.7584 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.7061, allocations: 3.984 kB / 0.7584 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.7071, allocations: 0.7045 MB / 0.7591 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.7072, allocations: 0 / 0.7591 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.7073, allocations: 39.91 kB / 0.7591 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.7073, allocations: 4 kB / 0.7591 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.7074, allocations: 7.938 kB / 0.7591 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7074, allocations: 96 / 0.7591 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7074, allocations: 3.938 kB / 0.7591 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.708, allocations: 401.2 kB / 0.7595 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.7081, allocations: 148.5 kB / 0.7597 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.7082, allocations: 0 / 0.7597 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.7084, allocations: 31.89 kB / 0.7597 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.7085, allocations: 11.92 kB / 0.7597 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.7085, allocations: 15.98 kB / 0.7597 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003794/0.7089, allocations: 322.9 kB / 0.76 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7089, allocations: 0 / 0.76 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007666/0.7097, allocations: 195.6 kB / 0.7602 GB, free: 9.871 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001435/0.7111, allocations: 486.4 kB / 0.7607 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007197/0.7119, allocations: 279.7 kB / 0.7609 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7119, allocations: 0 / 0.7609 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.7121, allocations: 88.14 kB / 0.761 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.7133, allocations: 229.6 kB / 0.7612 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.7148, allocations: 0.8116 MB / 0.762 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.7154, allocations: 0.835 MB / 0.7629 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003237/0.7158, allocations: 95.16 kB / 0.7629 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.7159, allocations: 39.38 kB / 0.763 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.7159, allocations: 7.938 kB / 0.763 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of Templates: time 0.01607/0.7319, allocations: 8.091 MB / 0.7709 GB, free: 15.12 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: