Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.564/1.564, allocations: 289.7 MB / 302.2 MB, free: 2.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.0009902/0.0009903, allocations: 181.2 kB / 371.6 MB, free: 3.41 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.424/1.424, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008229/0.000823, allocations: 90.16 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.924e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2332, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9636/1.197, allocations: 402.2 MB / 1.373 GB, free: 10.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.197, allocations: 93.42 kB / 1.373 GB, free: 10.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.843/3.04, allocations: 429.2 MB / 1.792 GB, free: 190.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.072e-06/3.04, allocations: 2.625 kB / 1.792 GB, free: 190.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.911e-05/3.04, allocations: 34.98 kB / 1.792 GB, free: 190.3 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002193/3.042, allocations: 1.321 MB / 1.793 GB, free: 189.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/3.042, allocations: 9.375 kB / 1.793 GB, free: 189.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/3.042, allocations: 153.5 kB / 1.793 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/3.044, allocations: 0.8155 MB / 1.794 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/3.044, allocations: 86.09 kB / 1.794 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/3.044, allocations: 124.5 kB / 1.794 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/3.045, allocations: 0.5951 MB / 1.795 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/3.045, allocations: 0.8438 kB / 1.795 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/3.045, allocations: 26.25 kB / 1.795 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/3.045, allocations: 13.22 kB / 1.795 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/3.046, allocations: 417.1 kB / 1.795 GB, free: 189.4 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.003862/3.049, allocations: 3.059 MB / 1.798 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/3.05, allocations: 314.9 kB / 1.799 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/3.05, allocations: 140.1 kB / 1.799 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/3.05, allocations: 348.5 kB / 1.799 GB, free: 187.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/3.05, allocations: 36.97 kB / 1.799 GB, free: 187.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/3.05, allocations: 0 / 1.799 GB, free: 187.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0007425/3.051, allocations: 404.1 kB / 1.799 GB, free: 187.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/3.051, allocations: 58.86 kB / 1.799 GB, free: 187.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007607/3.052, allocations: 0.7588 MB / 1.8 GB, free: 187.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/3.052, allocations: 57.05 kB / 1.8 GB, free: 187.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/3.053, allocations: 0.5491 MB / 1.801 GB, free: 187.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/3.053, allocations: 117.4 kB / 1.801 GB, free: 187.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/3.053, allocations: 9.812 kB / 1.801 GB, free: 187.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/3.053, allocations: 328.9 kB / 1.801 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/3.053, allocations: 155.6 kB / 1.801 GB, free: 186.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/3.054, allocations: 1.406 MB / 1.803 GB, free: 185.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/3.054, allocations: 299.7 kB / 1.803 GB, free: 185.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/3.054, allocations: 0 / 1.803 GB, free: 185.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009099/3.055, allocations: 0.6046 MB / 1.804 GB, free: 185.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/3.056, allocations: 0.808 MB / 1.804 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/3.056, allocations: 0 / 1.804 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/3.056, allocations: 6.438 kB / 1.804 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/3.057, allocations: 199.3 kB / 1.805 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/3.058, allocations: 2.97 MB / 1.808 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/3.061, allocations: 0.9135 MB / 1.808 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/3.061, allocations: 29.36 kB / 1.808 GB, free: 181.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/3.061, allocations: 3.188 kB / 1.808 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006971/3.062, allocations: 463.7 kB / 1.809 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/3.062, allocations: 7.562 kB / 1.809 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-06/3.062, allocations: 3.938 kB / 1.809 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/3.063, allocations: 163 kB / 1.809 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/3.063, allocations: 3.969 kB / 1.809 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/3.066, allocations: 0.9029 MB / 1.81 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/3.066, allocations: 28.81 kB / 1.81 GB, free: 181.9 MB / 0.948 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 () * 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.0002678/3.066, allocations: 168.5 kB / 1.81 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/3.066, allocations: 93.84 kB / 1.81 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008949/3.067, allocations: 499.1 kB / 1.811 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/3.067, allocations: 2.969 kB / 1.811 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/3.067, allocations: 3.188 kB / 1.811 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/3.067, allocations: 3.469 kB / 1.811 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/3.069, allocations: 1.226 MB / 1.812 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/3.069, allocations: 0 / 1.812 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/3.069, allocations: 123.6 kB / 1.812 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/3.069, allocations: 6.406 kB / 1.812 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/3.069, allocations: 20.06 kB / 1.812 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007736/3.07, allocations: 2.942 MB / 1.815 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/3.07, allocations: 2.156 kB / 1.815 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/3.071, allocations: 0.5941 MB / 1.816 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/3.071, allocations: 223.1 kB / 1.816 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/3.071, allocations: 3.75 kB / 1.816 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/3.072, allocations: 77.33 kB / 1.816 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/3.072, allocations: 29.55 kB / 1.816 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/3.072, allocations: 19.91 kB / 1.816 GB, free: 178 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005853/3.072, allocations: 0.5736 MB / 1.816 GB, free: 177.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/3.072, allocations: 0 / 1.816 GB, free: 177.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001792/3.074, allocations: 0.6125 MB / 1.817 GB, free: 177.8 MB / 0.948 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 () * 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.0008414/3.075, allocations: 0.5021 MB / 1.818 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001896/3.077, allocations: 0.7871 MB / 1.818 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/3.077, allocations: 0 / 1.818 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004158/3.077, allocations: 212.6 kB / 1.818 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/3.08, allocations: 493.4 kB / 1.819 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/3.081, allocations: 1.042 MB / 1.82 GB, free: 177.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/3.082, allocations: 1.045 MB / 1.821 GB, free: 176.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001382/3.083, allocations: 278.5 kB / 1.821 GB, free: 176.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/3.083, allocations: 65.72 kB / 1.821 GB, free: 176.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/3.083, allocations: 2.531 kB / 1.821 GB, free: 176.5 MB / 0.948 GB Notification: Performance of Templates: time 0.04585/3.129, allocations: 29.81 MB / 1.85 GB, free: 175.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)