Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.515/2.515, allocations: 287.5 MB / 303.2 MB, free: 8.281 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.001372/0.001372, allocations: 178.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009226/0.0009225, allocations: 87.61 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.000509, allocations: 15.86 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2214, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.487, allocations: 396.7 MB / 1.367 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/1.487, allocations: 107.8 kB / 1.367 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.417/2.904, allocations: 235.3 MB / 1.597 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.663e-06/2.905, allocations: 0 / 1.597 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.009e-05/2.905, allocations: 23.98 kB / 1.597 GB, free: 192.1 MB / 0.9323 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.003111/2.908, allocations: 1.075 MB / 1.598 GB, free: 191 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/2.908, allocations: 12.03 kB / 1.598 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/2.908, allocations: 84 kB / 1.598 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/2.91, allocations: 0.5394 MB / 1.598 GB, free: 190.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/2.91, allocations: 41.38 kB / 1.598 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/2.91, allocations: 48.38 kB / 1.598 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/2.911, allocations: 0.6299 MB / 1.599 GB, free: 189.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/2.911, allocations: 7.938 kB / 1.599 GB, free: 189.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/2.911, allocations: 20 kB / 1.599 GB, free: 189.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/2.911, allocations: 19.94 kB / 1.599 GB, free: 189.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/2.913, allocations: 0.4995 MB / 1.6 GB, free: 189 MB / 0.9323 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.005139/2.918, allocations: 3.21 MB / 1.603 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/2.919, allocations: 342.6 kB / 1.603 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/2.92, allocations: 232.8 kB / 1.603 GB, free: 185 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/2.92, allocations: 352.4 kB / 1.604 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/2.921, allocations: 42.55 kB / 1.604 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 3.036e-06/2.921, allocations: 3.938 kB / 1.604 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.003357/2.924, allocations: 0.8336 MB / 1.604 GB, free: 183.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/2.924, allocations: 55.41 kB / 1.604 GB, free: 183.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008827/2.925, allocations: 0.5705 MB / 1.605 GB, free: 183 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/2.925, allocations: 37.7 kB / 1.605 GB, free: 183 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/2.925, allocations: 328.4 kB / 1.605 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/2.925, allocations: 138 kB / 1.606 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/2.925, allocations: 19.94 kB / 1.606 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001103/2.926, allocations: 366.8 kB / 1.606 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008062/2.926, allocations: 217.2 kB / 1.606 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008679/2.927, allocations: 396.3 kB / 1.606 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/2.929, allocations: 0.5783 MB / 1.607 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/2.929, allocations: 0 / 1.607 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00254/2.932, allocations: 0.7145 MB / 1.608 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/2.932, allocations: 230 kB / 1.608 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/2.932, allocations: 8 kB / 1.608 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008884/2.933, allocations: 140.8 kB / 1.608 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/2.934, allocations: 155.8 kB / 1.608 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008657/2.935, allocations: 0.6382 MB / 1.609 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/2.936, allocations: 107.4 kB / 1.609 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/2.936, allocations: 31.98 kB / 1.609 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/2.936, allocations: 4 kB / 1.609 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/2.938, allocations: 0.6111 MB / 1.61 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/2.938, allocations: 11.92 kB / 1.61 GB, free: 178 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/2.938, allocations: 8 kB / 1.61 GB, free: 178 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/2.94, allocations: 176.3 kB / 1.61 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/2.94, allocations: 8 kB / 1.61 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/2.941, allocations: 95.47 kB / 1.61 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/2.941, allocations: 31.98 kB / 1.61 GB, free: 177.7 MB / 0.9323 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.0004435/2.941, allocations: 265 kB / 1.61 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/2.942, allocations: 71.08 kB / 1.61 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/2.944, allocations: 0.6589 MB / 1.611 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/2.944, allocations: 4.141 kB / 1.611 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/2.944, allocations: 0 / 1.611 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/2.944, allocations: 7.969 kB / 1.611 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/2.948, allocations: 1.391 MB / 1.612 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/2.948, allocations: 4.094 kB / 1.612 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006833/2.949, allocations: 83.89 kB / 1.612 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006723/2.949, allocations: 128.8 kB / 1.612 GB, free: 175 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/2.949, allocations: 19.92 kB / 1.612 GB, free: 175 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008671/2.95, allocations: 0.6266 MB / 1.613 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.95, allocations: 0 / 1.613 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/2.953, allocations: 0.7279 MB / 1.614 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/2.953, allocations: 196 kB / 1.614 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/2.953, allocations: 8 kB / 1.614 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/2.954, allocations: 63.88 kB / 1.614 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/2.954, allocations: 39.83 kB / 1.614 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/2.954, allocations: 19.98 kB / 1.614 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006278/2.955, allocations: 391.1 kB / 1.614 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.21e-07/2.955, allocations: 0 / 1.614 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00183/2.957, allocations: 419.5 kB / 1.615 GB, free: 172.5 MB / 0.9323 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.001146/2.958, allocations: 427 kB / 1.615 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003187/2.961, allocations: 0.8934 MB / 1.616 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/2.961, allocations: 0.75 kB / 1.616 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/2.962, allocations: 299.7 kB / 1.616 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/2.965, allocations: 259.7 kB / 1.617 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/2.968, allocations: 1.269 MB / 1.618 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/2.968, allocations: 0.912 MB / 1.619 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001077/2.969, allocations: 145.1 kB / 1.619 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/2.97, allocations: 67.41 kB / 1.619 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.184e-06/2.97, allocations: 0 / 1.619 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.03402/3.004, allocations: 13.11 MB / 1.632 GB, free: 155.2 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)