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 1.886/1.886, allocations: 287.5 MB / 302.6 MB, free: 8.312 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.001153/0.001153, allocations: 181.4 kB / 371.2 MB, free: 10.82 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.789/1.789, allocations: 205.4 MB / 0.6298 GB, free: 10.51 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.0008078/0.0008078, allocations: 92.22 kB / 0.7432 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 16 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2281, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01925/0.2474, allocations: 27.75 MB / 1.006 GB, free: 360 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.264, allocations: 10.97 MB / 1.016 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.2656, allocations: 43.62 kB / 1.017 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.2667, allocations: 301.9 kB / 1.017 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.2703, allocations: 1.071 MB / 1.018 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.273, allocations: 0.9566 MB / 1.019 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004308/0.2774, allocations: 3.54 MB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.2792, allocations: 1.124 MB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.2818, allocations: 1.445 MB / 1.025 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.2844, allocations: 1.546 MB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.2848, allocations: 64 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.2869, allocations: 0.8617 MB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.2874, allocations: 326.8 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.2879, allocations: 249.1 kB / 1.028 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.2903, allocations: 1.532 MB / 1.029 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.2903, allocations: 0 / 1.029 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2904, allocations: 0 / 1.029 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.2904, allocations: 0 / 1.029 GB, free: 8.289 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.002502/0.2929, allocations: 1.321 MB / 1.031 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.2929, allocations: 8.031 kB / 1.031 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.2933, allocations: 155 kB / 1.031 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.2949, allocations: 0.8868 MB / 1.032 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/0.295, allocations: 81.31 kB / 1.032 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.2953, allocations: 116 kB / 1.032 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.2964, allocations: 0.6473 MB / 1.032 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2964, allocations: 0 / 1.032 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.2965, allocations: 20 kB / 1.032 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.2965, allocations: 19.94 kB / 1.032 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/0.2975, allocations: 484.8 kB / 1.033 GB, free: 4.445 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.004539/0.302, allocations: 2.863 MB / 1.036 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.3026, allocations: 304.6 kB / 1.036 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.3029, allocations: 161.3 kB / 1.036 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.3033, allocations: 340.7 kB / 1.036 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.3033, allocations: 38.84 kB / 1.036 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.436e-06/0.3033, allocations: 0 / 1.036 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001285/0.3046, allocations: 0.543 MB / 1.037 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3047, allocations: 59.34 kB / 1.037 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3058, allocations: 0.8869 MB / 1.038 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.3059, allocations: 57.7 kB / 1.038 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.3064, allocations: 0.5332 MB / 1.038 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.3065, allocations: 114.4 kB / 1.039 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.3065, allocations: 12 kB / 1.039 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3067, allocations: 330.1 kB / 1.039 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.3071, allocations: 181.2 kB / 1.039 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.3084, allocations: 1.143 MB / 1.04 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.3092, allocations: 447.4 kB / 1.041 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3092, allocations: 0 / 1.041 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001259/0.3105, allocations: 0.6383 MB / 1.041 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.3106, allocations: 152.3 kB / 1.041 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3106, allocations: 4 kB / 1.041 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3107, allocations: 4.094 kB / 1.041 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.3121, allocations: 243.6 kB / 1.042 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.3139, allocations: 2.958 MB / 1.045 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/0.3173, allocations: 0.7533 MB / 1.045 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/0.3174, allocations: 27.98 kB / 1.045 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3174, allocations: 4 kB / 1.045 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/0.3185, allocations: 0.501 MB / 1.046 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3185, allocations: 4 kB / 1.046 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.3185, allocations: 4.188 kB / 1.046 GB, free: 6.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.3192, allocations: 163.7 kB / 1.046 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3192, allocations: 4 kB / 1.046 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/0.3225, allocations: 0.7339 MB / 1.047 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.3226, allocations: 31.98 kB / 1.047 GB, free: 5.41 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.0006826/0.3233, allocations: 333.8 kB / 1.047 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.3235, allocations: 94.78 kB / 1.047 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.3247, allocations: 0.5094 MB / 1.048 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3247, allocations: 4 kB / 1.048 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3247, allocations: 4 kB / 1.048 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3247, allocations: 7.922 kB / 1.048 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.3271, allocations: 1.267 MB / 1.049 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.3271, allocations: 4 kB / 1.049 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.3276, allocations: 127.8 kB / 1.049 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.3277, allocations: 4 kB / 1.049 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.3277, allocations: 12 kB / 1.049 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.3293, allocations: 2.946 MB / 1.052 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.3293, allocations: 3.938 kB / 1.052 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009752/0.3303, allocations: 0.5777 MB / 1.052 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.3306, allocations: 219.7 kB / 1.053 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.3308, allocations: 8 kB / 1.053 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/0.3313, allocations: 63.78 kB / 1.053 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.3314, allocations: 27.91 kB / 1.053 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.3315, allocations: 19.98 kB / 1.053 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007884/0.3323, allocations: 0.5845 MB / 1.053 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3323, allocations: 0 / 1.053 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001634/0.3339, allocations: 0.5345 MB / 1.054 GB, free: 13.81 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.0008092/0.3347, allocations: 330.1 kB / 1.054 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.3374, allocations: 0.8433 MB / 1.055 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3375, allocations: 0 / 1.055 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.3381, allocations: 228 kB / 1.055 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.3409, allocations: 487.2 kB / 1.056 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.3439, allocations: 1.771 MB / 1.057 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.3446, allocations: 1.025 MB / 1.058 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001272/0.3459, allocations: 215.1 kB / 1.059 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.3462, allocations: 75.42 kB / 1.059 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/0.3462, allocations: 0 / 1.059 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of Templates: time 0.4338/0.78, allocations: 23.84 MB / 1.082 GB, free: 86.04 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)