Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001544/0.001544, allocations: 177.3 kB / 15.95 MB, free: 216 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.84/1.84, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.612/1.612, allocations: 251.9 MB / 0.51 GB, free: 4.809 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.0005552/0.0005552, allocations: 19.12 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5807/0.5812, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01935/0.6007, allocations: 16.53 MB / 0.7441 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01328/0.614, allocations: 7.294 MB / 0.7512 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.6155, allocations: 19.81 kB / 0.7513 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.6172, allocations: 370.3 kB / 0.7516 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.6209, allocations: 0.8008 MB / 0.7524 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007517/0.6285, allocations: 2.14 MB / 0.7545 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002943/0.6314, allocations: 0.9503 MB / 0.7554 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009888/0.6324, allocations: 419.2 kB / 0.7558 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.6339, allocations: 0.5022 MB / 0.7563 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.6347, allocations: 398.3 kB / 0.7567 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.539e-05/0.6348, allocations: 28 kB / 0.7567 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.6369, allocations: 0.6319 MB / 0.7573 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.6371, allocations: 119.5 kB / 0.7574 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.6374, allocations: 157.3 kB / 0.7576 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.6386, allocations: 0.7442 MB / 0.7583 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6387, allocations: 0 / 0.7583 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6387, allocations: 4 kB / 0.7583 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.6387, allocations: 0 / 0.7583 GB, free: 12.27 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001958/0.6406, allocations: 0.9875 MB / 0.7593 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.6407, allocations: 16.03 kB / 0.7593 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.6409, allocations: 83.06 kB / 0.7594 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009544/0.6419, allocations: 482.6 kB / 0.7598 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.6419, allocations: 37 kB / 0.7599 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.642, allocations: 48 kB / 0.7599 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.6434, allocations: 0.6293 MB / 0.7605 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.6434, allocations: 4 kB / 0.7605 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.6435, allocations: 20 kB / 0.7606 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.6435, allocations: 12 kB / 0.7606 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.6446, allocations: 0.5189 MB / 0.7611 GB, free: 9.289 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.004125/0.6487, allocations: 3.201 MB / 0.7642 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007241/0.6495, allocations: 357.2 kB / 0.7645 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004311/0.6499, allocations: 352.4 kB / 0.7649 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.65, allocations: 38.56 kB / 0.7649 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.425e-06/0.65, allocations: 0 / 0.7649 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.002207/0.6522, allocations: 0.8579 MB / 0.7658 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.6523, allocations: 55.41 kB / 0.7658 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/0.6529, allocations: 0.5782 MB / 0.7664 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.653, allocations: 37.7 kB / 0.7664 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.6532, allocations: 328.4 kB / 0.7667 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.6534, allocations: 138 kB / 0.7669 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.6534, allocations: 12 kB / 0.7669 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.6536, allocations: 370.8 kB / 0.7672 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.6541, allocations: 221.2 kB / 0.7674 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.6547, allocations: 364 kB / 0.7678 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.6552, allocations: 256.7 kB / 0.768 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.6553, allocations: 4 kB / 0.768 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001418/0.6567, allocations: 0.7188 MB / 0.7687 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007389/0.6574, allocations: 1.755 MB / 0.7704 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6574, allocations: 4 kB / 0.7705 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.6581, allocations: 144.8 kB / 0.7706 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.6588, allocations: 155.8 kB / 0.7707 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006746/0.6595, allocations: 0.6342 MB / 0.7714 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.6601, allocations: 103.4 kB / 0.7715 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/0.6602, allocations: 31.98 kB / 0.7715 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.6602, allocations: 4 kB / 0.7715 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/0.6614, allocations: 0.615 MB / 0.7721 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6614, allocations: 8 kB / 0.7721 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.6615, allocations: 8 kB / 0.7721 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.6621, allocations: 164.3 kB / 0.7723 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.6621, allocations: 15.92 kB / 0.7723 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.6626, allocations: 83.55 kB / 0.7724 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.6627, allocations: 35.92 kB / 0.7724 GB, free: 13.11 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.663, allocations: 272.9 kB / 0.7727 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.6631, allocations: 63.16 kB / 0.7727 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.6646, allocations: 0.6775 MB / 0.7734 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.6646, allocations: 4 kB / 0.7734 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6646, allocations: 0 / 0.7734 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6647, allocations: 3.984 kB / 0.7734 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.6672, allocations: 1.4 MB / 0.7747 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.6672, allocations: 0 / 0.7747 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.6676, allocations: 99.92 kB / 0.7748 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/0.668, allocations: 128.8 kB / 0.775 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.6681, allocations: 19.98 kB / 0.775 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006208/0.6687, allocations: 0.6343 MB / 0.7756 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.6687, allocations: 4.031 kB / 0.7756 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.67, allocations: 0.7489 MB / 0.7763 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.6703, allocations: 204 kB / 0.7765 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-05/0.6704, allocations: 8 kB / 0.7765 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.6709, allocations: 55.94 kB / 0.7766 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.671, allocations: 27.97 kB / 0.7766 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.671, allocations: 23.98 kB / 0.7766 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004727/0.6715, allocations: 391.1 kB / 0.777 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6715, allocations: 0 / 0.777 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00124/0.6728, allocations: 387.3 kB / 0.7774 GB, free: 7.809 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007532/0.6735, allocations: 308.2 kB / 0.7777 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.6756, allocations: 0.9059 MB / 0.7786 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6757, allocations: 0 / 0.7786 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.6763, allocations: 299.9 kB / 0.7789 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.6777, allocations: 273.1 kB / 0.7791 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.6798, allocations: 1.265 MB / 0.7803 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.6804, allocations: 0.9311 MB / 0.7813 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006006/0.681, allocations: 154.4 kB / 0.7814 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.6812, allocations: 59.42 kB / 0.7815 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.6812, allocations: 3.938 kB / 0.7815 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of Templates: time 0.02147/0.7027, allocations: 11.8 MB / 0.793 GB, free: 7.941 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: