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.001018/0.001018, allocations: 98.27 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.01066/0.01066, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.518/1.518, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.58/1.58, allocations: 252 MB / 0.5105 GB, free: 4.711 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.0005755/0.0005755, allocations: 15.98 kB / 0.6249 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5608, allocations: 106.3 MB / 0.7287 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01693/0.5778, allocations: 15.13 MB / 0.7435 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01192/0.5898, allocations: 7.344 MB / 0.7507 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.5908, allocations: 15.88 kB / 0.7507 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.5919, allocations: 230.8 kB / 0.7509 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.594, allocations: 0.5404 MB / 0.7514 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.5961, allocations: 0.6254 MB / 0.752 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.5978, allocations: 1.292 MB / 0.7533 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004429/0.5983, allocations: 291.8 kB / 0.7536 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.599, allocations: 374.3 kB / 0.7539 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004248/0.5994, allocations: 310.6 kB / 0.7542 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.5995, allocations: 12 kB / 0.7543 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.6006, allocations: 0.5887 MB / 0.7548 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.6007, allocations: 79.56 kB / 0.7549 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.601, allocations: 236.5 kB / 0.7551 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.602, allocations: 0.7242 MB / 0.7558 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.602, allocations: 0 / 0.7558 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.602, allocations: 0 / 0.7558 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.602, allocations: 0 / 0.7558 GB, free: 15.62 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001212/0.6032, allocations: 0.7476 MB / 0.7566 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.6033, allocations: 8.031 kB / 0.7566 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.6034, allocations: 56.28 kB / 0.7566 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.604, allocations: 416.8 kB / 0.757 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.604, allocations: 24.38 kB / 0.757 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.6041, allocations: 28 kB / 0.7571 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.6045, allocations: 215.2 kB / 0.7573 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6045, allocations: 3.984 kB / 0.7573 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.6046, allocations: 8 kB / 0.7573 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.6046, allocations: 4 kB / 0.7573 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.605, allocations: 177.6 kB / 0.7575 GB, free: 13.86 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.001699/0.6067, allocations: 0.9419 MB / 0.7584 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.607, allocations: 138.5 kB / 0.7585 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.6072, allocations: 76.81 kB / 0.7586 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.6075, allocations: 332.4 kB / 0.7589 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.6075, allocations: 46.5 kB / 0.759 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.6075, allocations: 0 / 0.759 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006289/0.6082, allocations: 245 kB / 0.7592 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.6082, allocations: 63.34 kB / 0.7592 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005296/0.6088, allocations: 473.9 kB / 0.7597 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.6088, allocations: 33.7 kB / 0.7597 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.609, allocations: 228.6 kB / 0.7599 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.609, allocations: 39.36 kB / 0.76 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.6091, allocations: 29.7 kB / 0.76 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6093, allocations: 358.7 kB / 0.7604 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.6094, allocations: 71.95 kB / 0.7604 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.6097, allocations: 153.7 kB / 0.7606 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.6101, allocations: 180.9 kB / 0.7607 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6101, allocations: 0 / 0.7607 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005137/0.6106, allocations: 265 kB / 0.761 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.6107, allocations: 102.7 kB / 0.7611 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6107, allocations: 4 kB / 0.7611 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6108, allocations: 0 / 0.7611 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.611, allocations: 59.84 kB / 0.7612 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.611, allocations: 0 / 0.7612 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.6114, allocations: 47.66 kB / 0.7612 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.6114, allocations: 15.98 kB / 0.7612 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.6114, allocations: 6.344 kB / 0.7612 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004164/0.6119, allocations: 183.8 kB / 0.7614 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.6119, allocations: 3.938 kB / 0.7614 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.6119, allocations: 4 kB / 0.7614 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.6121, allocations: 51.91 kB / 0.7615 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.6121, allocations: 4 kB / 0.7615 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.6124, allocations: 43.75 kB / 0.7615 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.6124, allocations: 8 kB / 0.7615 GB, free: 9.441 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.6127, allocations: 245 kB / 0.7617 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.6127, allocations: 47.44 kB / 0.7618 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005814/0.6133, allocations: 253.2 kB / 0.762 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.6134, allocations: 7.984 kB / 0.762 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6134, allocations: 0 / 0.762 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6134, allocations: 0 / 0.762 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.6145, allocations: 0.7151 MB / 0.7627 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6145, allocations: 7.938 kB / 0.7627 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.6146, allocations: 31.92 kB / 0.7628 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.6147, allocations: 4 kB / 0.7628 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.6147, allocations: 4 kB / 0.7628 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.6147, allocations: 7.938 kB / 0.7628 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6147, allocations: 0 / 0.7628 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.6152, allocations: 356.1 kB / 0.7631 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.6154, allocations: 144.5 kB / 0.7633 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.6154, allocations: 0 / 0.7633 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.6157, allocations: 35.77 kB / 0.7633 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.6158, allocations: 15.97 kB / 0.7633 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.6158, allocations: 8 kB / 0.7633 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003876/0.6162, allocations: 338.8 kB / 0.7636 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6162, allocations: 0 / 0.7636 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007636/0.6169, allocations: 191.7 kB / 0.7638 GB, free: 6.934 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 (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.001175/0.6181, allocations: 477.2 kB / 0.7643 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006788/0.6188, allocations: 282.8 kB / 0.7646 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6188, allocations: 4 kB / 0.7646 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.619, allocations: 87.83 kB / 0.7646 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.6204, allocations: 236.9 kB / 0.7649 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.6218, allocations: 0.8506 MB / 0.7657 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.6222, allocations: 0.8271 MB / 0.7665 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003129/0.6225, allocations: 87.77 kB / 0.7666 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.6226, allocations: 43.42 kB / 0.7666 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.6226, allocations: 0 / 0.7666 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of Templates: time 0.01611/0.6387, allocations: 8.344 MB / 0.7748 GB, free: 11.92 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: