Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.4 MB / 304.3 MB, free: 8.172 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.001068/0.001068, allocations: 184.4 kB / 373 MB, free: 10.15 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.787/1.787, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.0009883/0.0009882, allocations: 104.2 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000537/0.000537, allocations: 16.45 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2525, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9902/1.243, allocations: 401.4 MB / 1.373 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/1.243, allocations: 110.4 kB / 1.373 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.68/2.923, allocations: 428 MB / 1.791 GB, free: 215.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.993e-06/2.923, allocations: 4.125 kB / 1.791 GB, free: 215.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000113/2.923, allocations: 35.09 kB / 1.791 GB, free: 215.5 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003376/2.926, allocations: 1.494 MB / 1.792 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/2.927, allocations: 12.06 kB / 1.792 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004131/2.927, allocations: 152.5 kB / 1.792 GB, free: 215 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/2.929, allocations: 0.8661 MB / 1.793 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.463e-05/2.929, allocations: 84.22 kB / 1.793 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/2.929, allocations: 123.7 kB / 1.794 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/2.93, allocations: 0.6301 MB / 1.794 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/2.93, allocations: 11.62 kB / 1.794 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/2.93, allocations: 22.97 kB / 1.794 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/2.93, allocations: 17.62 kB / 1.794 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009371/2.931, allocations: 471.1 kB / 1.795 GB, free: 214.6 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.004863/2.936, allocations: 3.076 MB / 1.798 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/2.937, allocations: 323.8 kB / 1.798 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/2.937, allocations: 159.8 kB / 1.798 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/2.937, allocations: 346.4 kB / 1.798 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/2.937, allocations: 37.92 kB / 1.798 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/2.937, allocations: 4.438 kB / 1.798 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.00148/2.939, allocations: 0.5628 MB / 1.799 GB, free: 212.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/2.939, allocations: 58.42 kB / 1.799 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/2.94, allocations: 0.8771 MB / 1.8 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/2.94, allocations: 58.25 kB / 1.8 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/2.941, allocations: 0.5526 MB / 1.801 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/2.941, allocations: 116.9 kB / 1.801 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/2.941, allocations: 12.53 kB / 1.801 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.885e-05/2.941, allocations: 329 kB / 1.801 GB, free: 212 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/2.941, allocations: 186.9 kB / 1.801 GB, free: 212 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/2.943, allocations: 1.43 MB / 1.803 GB, free: 211 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/2.944, allocations: 462.8 kB / 1.803 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.944, allocations: 0 / 1.803 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001394/2.945, allocations: 0.6526 MB / 1.804 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/2.945, allocations: 158.7 kB / 1.804 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/2.945, allocations: 1.703 kB / 1.804 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/2.945, allocations: 8.062 kB / 1.804 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/2.947, allocations: 245.9 kB / 1.804 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/2.948, allocations: 2.96 MB / 1.807 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/2.952, allocations: 0.9153 MB / 1.808 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/2.952, allocations: 26.73 kB / 1.808 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/2.952, allocations: 7.094 kB / 1.808 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009046/2.953, allocations: 0.5131 MB / 1.808 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/2.953, allocations: 0 / 1.808 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/2.953, allocations: 3.938 kB / 1.808 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/2.954, allocations: 160.1 kB / 1.808 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/2.954, allocations: 6.297 kB / 1.808 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/2.957, allocations: 0.9046 MB / 1.809 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/2.957, allocations: 27.89 kB / 1.809 GB, free: 207.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006487/2.958, allocations: 337.4 kB / 1.81 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/2.958, allocations: 93.52 kB / 1.81 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/2.959, allocations: 0.5257 MB / 1.81 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/2.96, allocations: 8.328 kB / 1.81 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/2.96, allocations: 0.5625 kB / 1.81 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/2.96, allocations: 1.922 kB / 1.81 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/2.962, allocations: 1.283 MB / 1.812 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/2.962, allocations: 0 / 1.812 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/2.962, allocations: 124.7 kB / 1.812 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/2.962, allocations: 7.875 kB / 1.812 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/2.962, allocations: 12.14 kB / 1.812 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008259/2.963, allocations: 2.945 MB / 1.815 GB, free: 204.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.963, allocations: 0 / 1.815 GB, free: 204.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/2.964, allocations: 0.5908 MB / 1.815 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/2.964, allocations: 225.8 kB / 1.815 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/2.964, allocations: 11.23 kB / 1.815 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/2.965, allocations: 70.38 kB / 1.815 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/2.965, allocations: 27.23 kB / 1.815 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/2.965, allocations: 14.08 kB / 1.816 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006734/2.966, allocations: 0.5913 MB / 1.816 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/2.966, allocations: 0 / 1.816 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002245/2.968, allocations: 0.6091 MB / 1.817 GB, free: 203.6 MB / 0.9323 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009186/2.969, allocations: 0.5093 MB / 1.817 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003063/2.972, allocations: 0.8669 MB / 1.818 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/2.972, allocations: 4.5 kB / 1.818 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006246/2.973, allocations: 240 kB / 1.818 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/2.975, allocations: 483.3 kB / 1.819 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/2.978, allocations: 1.773 MB / 1.82 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/2.979, allocations: 1.024 MB / 1.821 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001501/2.98, allocations: 211.3 kB / 1.822 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/2.98, allocations: 80.78 kB / 1.822 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of SimCode: time 8.22e-07/2.98, allocations: 0 / 1.822 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.04693/3.027, allocations: 28.3 MB / 1.849 GB, free: 201.3 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)