Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 289.7 MB / 302.2 MB, free: 2.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 181.8 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008722/0.0008722, allocations: 94.77 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.765e-05, allocations: 8 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2476, allocations: 116.3 MB / 0.9798 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.939/1.187, allocations: 397.7 MB / 1.368 GB, free: 15.16 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.187, allocations: 97.08 kB / 1.368 GB, free: 15.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9206/2.108, allocations: 235.9 MB / 1.599 GB, free: 170.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.572e-06/2.108, allocations: 0 / 1.599 GB, free: 170.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.298e-05/2.108, allocations: 16 kB / 1.599 GB, free: 170.4 MB / 0.948 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.001474/2.109, allocations: 0.9628 MB / 1.6 GB, free: 169.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/2.109, allocations: 8.031 kB / 1.6 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/2.109, allocations: 82.97 kB / 1.6 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/2.11, allocations: 0.5144 MB / 1.6 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/2.11, allocations: 41 kB / 1.6 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/2.11, allocations: 48 kB / 1.6 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/2.111, allocations: 0.5627 MB / 1.601 GB, free: 168.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/2.111, allocations: 11.89 kB / 1.601 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/2.111, allocations: 20 kB / 1.601 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/2.111, allocations: 16 kB / 1.601 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/2.111, allocations: 398.8 kB / 1.601 GB, free: 167.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002562/2.114, allocations: 3.203 MB / 1.604 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/2.114, allocations: 295.1 kB / 1.605 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/2.115, allocations: 176.8 kB / 1.605 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/2.115, allocations: 348.4 kB / 1.605 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/2.115, allocations: 38.56 kB / 1.605 GB, free: 163.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=38): time 2.084e-06/2.115, allocations: 3.938 kB / 1.605 GB, free: 163.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.0006726/2.116, allocations: 421.8 kB / 1.606 GB, free: 162.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/2.116, allocations: 55.41 kB / 1.606 GB, free: 162.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/2.116, allocations: 0.4995 MB / 1.606 GB, free: 162.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/2.116, allocations: 33.7 kB / 1.606 GB, free: 162.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/2.116, allocations: 328.4 kB / 1.606 GB, free: 161.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/2.116, allocations: 138 kB / 1.607 GB, free: 161.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/2.116, allocations: 12 kB / 1.607 GB, free: 161.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.122e-05/2.116, allocations: 374.7 kB / 1.607 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/2.117, allocations: 161.5 kB / 1.607 GB, free: 161.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/2.117, allocations: 353.5 kB / 1.607 GB, free: 160.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/2.117, allocations: 205.5 kB / 1.608 GB, free: 160.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/2.117, allocations: 0 / 1.608 GB, free: 160.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007835/2.118, allocations: 0.6168 MB / 1.608 GB, free: 160 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002384/2.118, allocations: 1.75 MB / 1.61 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/2.118, allocations: 4 kB / 1.61 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/2.119, allocations: 148.8 kB / 1.61 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/2.119, allocations: 151.8 kB / 1.61 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004075/2.12, allocations: 0.6187 MB / 1.611 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/2.12, allocations: 103.4 kB / 1.611 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/2.121, allocations: 35.98 kB / 1.611 GB, free: 157 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/2.121, allocations: 4 kB / 1.611 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006778/2.121, allocations: 0.5101 MB / 1.612 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/2.121, allocations: 7.984 kB / 1.612 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/2.121, allocations: 11.95 kB / 1.612 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/2.122, allocations: 155.8 kB / 1.612 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/2.122, allocations: 11.94 kB / 1.612 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/2.122, allocations: 99.53 kB / 1.612 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/2.122, allocations: 31.98 kB / 1.612 GB, free: 156.2 MB / 0.948 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 () * 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 9.89e-05/2.122, allocations: 136.9 kB / 1.612 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/2.123, allocations: 67.16 kB / 1.612 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008619/2.123, allocations: 0.5613 MB / 1.613 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/2.123, allocations: 7.953 kB / 1.613 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/2.123, allocations: 0 / 1.613 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/2.123, allocations: 7.984 kB / 1.613 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/2.125, allocations: 1.273 MB / 1.614 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/2.125, allocations: 0 / 1.614 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/2.125, allocations: 95.97 kB / 1.614 GB, free: 154 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/2.126, allocations: 128.8 kB / 1.614 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/2.126, allocations: 12 kB / 1.614 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003777/2.126, allocations: 0.6226 MB / 1.615 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.126, allocations: 0 / 1.615 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/2.127, allocations: 0.6511 MB / 1.615 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/2.127, allocations: 192.1 kB / 1.615 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/2.127, allocations: 12 kB / 1.615 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/2.128, allocations: 63.78 kB / 1.616 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/2.128, allocations: 39.84 kB / 1.616 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/2.128, allocations: 16 kB / 1.616 GB, free: 152.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003213/2.128, allocations: 383.2 kB / 1.616 GB, free: 151.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/2.128, allocations: 0 / 1.616 GB, free: 151.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001032/2.129, allocations: 415.5 kB / 1.616 GB, free: 151.4 MB / 0.948 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 () * 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.0006303/2.13, allocations: 421.8 kB / 1.617 GB, free: 150.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001093/2.131, allocations: 0.7752 MB / 1.618 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/2.131, allocations: 1.25 kB / 1.618 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004182/2.131, allocations: 247.9 kB / 1.618 GB, free: 149.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/2.132, allocations: 269.6 kB / 1.618 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/2.134, allocations: 0.7375 MB / 1.619 GB, free: 148.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/2.134, allocations: 0.9246 MB / 1.62 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000606/2.134, allocations: 184.8 kB / 1.62 GB, free: 147.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/2.135, allocations: 55.36 kB / 1.62 GB, free: 147.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/2.135, allocations: 0 / 1.62 GB, free: 147.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01974/2.154, allocations: 14.23 MB / 1.634 GB, free: 133.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)