Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.78/2.78, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.002304/0.002304, allocations: 190.1 kB / 370.8 MB, free: 10.86 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.397/2.397, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001272/0.001272, allocations: 94 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.000488, allocations: 16.91 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03142/0.2614, allocations: 25.41 MB / 1.003 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02313/0.2846, allocations: 10.33 MB / 1.013 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.2864, allocations: 39.62 kB / 1.013 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.2891, allocations: 0.6145 MB / 1.014 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006499/0.2957, allocations: 1.389 MB / 1.015 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.3076, allocations: 2.886 MB / 1.018 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005151/0.3128, allocations: 2.102 MB / 1.02 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.3152, allocations: 1.09 MB / 1.021 GB, free: 472 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.3188, allocations: 1.27 MB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004264/0.3231, allocations: 1.293 MB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006786/0.3239, allocations: 67.94 kB / 1.024 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.3272, allocations: 0.901 MB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008904/0.3282, allocations: 330.8 kB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006012/0.3288, allocations: 245.1 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.332, allocations: 1.528 MB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.332, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.154e-06/0.332, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.006e-05/0.3321, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.6511 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.0036/0.3357, allocations: 1.332 MB / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3357, allocations: 8.031 kB / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006223/0.3364, allocations: 142.6 kB / 1.028 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.3391, allocations: 0.8641 MB / 1.029 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.3392, allocations: 77.31 kB / 1.029 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/0.3396, allocations: 120 kB / 1.029 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.3414, allocations: 0.6317 MB / 1.03 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.3414, allocations: 0 / 1.03 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.899e-05/0.3415, allocations: 28 kB / 1.03 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.3415, allocations: 16 kB / 1.03 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.3431, allocations: 468.9 kB / 1.03 GB, free: 7.031 MB / 0.6511 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.007484/0.3506, allocations: 2.875 MB / 1.033 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3517, allocations: 313.2 kB / 1.033 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004081/0.3521, allocations: 344.7 kB / 1.034 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3521, allocations: 42.78 kB / 1.034 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.895e-06/0.3522, allocations: 0 / 1.034 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.002255/0.3544, allocations: 0.5403 MB / 1.034 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3545, allocations: 55.41 kB / 1.034 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.3562, allocations: 0.8829 MB / 1.035 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003223/0.3565, allocations: 53.7 kB / 1.035 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/0.3573, allocations: 0.5374 MB / 1.036 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.3575, allocations: 110.4 kB / 1.036 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.3575, allocations: 12 kB / 1.036 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3577, allocations: 330 kB / 1.036 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006869/0.3584, allocations: 181.2 kB / 1.036 GB, free: 488 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.3606, allocations: 1.139 MB / 1.037 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009555/0.3616, allocations: 302.8 kB / 1.038 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3617, allocations: 0 / 1.038 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00237/0.364, allocations: 0.6422 MB / 1.038 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003696/0.3645, allocations: 0.8098 MB / 1.039 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3645, allocations: 7.984 kB / 1.039 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.3645, allocations: 4 kB / 1.039 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.3672, allocations: 243.5 kB / 1.039 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.3695, allocations: 2.965 MB / 1.042 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006591/0.3761, allocations: 0.7416 MB / 1.043 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.3764, allocations: 27.98 kB / 1.043 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3764, allocations: 5.562 kB / 1.043 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00178/0.3782, allocations: 0.4933 MB / 1.043 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3782, allocations: 4 kB / 1.043 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3782, allocations: 4 kB / 1.043 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.3796, allocations: 168 kB / 1.044 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.3796, allocations: 8 kB / 1.044 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006333/0.386, allocations: 0.73 MB / 1.044 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.3862, allocations: 27.98 kB / 1.044 GB, free: 7.621 MB / 0.6667 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.0008481/0.387, allocations: 333.9 kB / 1.045 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.3874, allocations: 94.97 kB / 1.045 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.3893, allocations: 0.5209 MB / 1.045 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.3893, allocations: 4 kB / 1.045 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3893, allocations: 4 kB / 1.045 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3893, allocations: 7.984 kB / 1.045 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003331/0.3927, allocations: 1.259 MB / 1.046 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.3927, allocations: 0 / 1.046 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.3938, allocations: 119.8 kB / 1.047 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/0.3938, allocations: 0 / 1.047 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.3938, allocations: 23.94 kB / 1.047 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.3957, allocations: 2.942 MB / 1.049 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.3957, allocations: 3.938 kB / 1.049 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.3974, allocations: 0.622 MB / 1.05 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/0.3979, allocations: 223.7 kB / 1.05 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.3981, allocations: 11.98 kB / 1.05 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009534/0.3991, allocations: 63.78 kB / 1.05 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3992, allocations: 27.91 kB / 1.05 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.3992, allocations: 19.94 kB / 1.05 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00121/0.4005, allocations: 0.5883 MB / 1.051 GB, free: 496 kB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4005, allocations: 0 / 1.051 GB, free: 496 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002258/0.4028, allocations: 0.5345 MB / 1.052 GB, free: 15.95 MB / 0.6823 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.00104/0.4038, allocations: 321.7 kB / 1.052 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00439/0.4082, allocations: 0.8391 MB / 1.053 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4083, allocations: 0 / 1.053 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.4094, allocations: 244.2 kB / 1.053 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004391/0.4138, allocations: 487.7 kB / 1.053 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/0.418, allocations: 1.77 MB / 1.055 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/0.4188, allocations: 1.046 MB / 1.056 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001749/0.4205, allocations: 219.1 kB / 1.056 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.4209, allocations: 75.42 kB / 1.056 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/0.4209, allocations: 0 / 1.056 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.7159/1.137, allocations: 23.72 MB / 1.08 GB, free: 84.4 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)