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.834/1.834, allocations: 288.4 MB / 303.4 MB, free: 8.105 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.001351/0.001351, allocations: 169.8 kB / 372 MB, free: 10.2 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.814/1.814, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008097/0.0008098, allocations: 102.3 kB / 0.7441 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.00043, allocations: 11.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02383/0.2447, allocations: 27.76 MB / 1.007 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.2618, allocations: 10.96 MB / 1.017 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.2637, allocations: 39.62 kB / 1.017 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.2651, allocations: 305.9 kB / 1.018 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003934/0.2691, allocations: 1.071 MB / 1.019 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00326/0.2723, allocations: 0.9596 MB / 1.02 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00489/0.2772, allocations: 3.506 MB / 1.023 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.2795, allocations: 1.082 MB / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.2827, allocations: 1.449 MB / 1.026 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.2858, allocations: 1.546 MB / 1.027 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007291/0.2865, allocations: 64 kB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.2894, allocations: 0.8617 MB / 1.028 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008796/0.2903, allocations: 330.7 kB / 1.028 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009221/0.2912, allocations: 241.1 kB / 1.029 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.2939, allocations: 1.535 MB / 1.03 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.2939, allocations: 0 / 1.03 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2939, allocations: 0 / 1.03 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.436e-05/0.294, allocations: 0 / 1.03 GB, free: 7.816 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.003226/0.2973, allocations: 1.336 MB / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2973, allocations: 8.031 kB / 1.031 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.2979, allocations: 146.5 kB / 1.032 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.3, allocations: 0.8564 MB / 1.032 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.3001, allocations: 77.31 kB / 1.032 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/0.3005, allocations: 116 kB / 1.033 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.3018, allocations: 0.6434 MB / 1.033 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3019, allocations: 0 / 1.033 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.3019, allocations: 32 kB / 1.033 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.3019, allocations: 12 kB / 1.033 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009557/0.3029, allocations: 468.8 kB / 1.034 GB, free: 4.02 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.004825/0.3077, allocations: 2.875 MB / 1.036 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005836/0.3083, allocations: 305.2 kB / 1.037 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.3087, allocations: 157.3 kB / 1.037 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/0.309, allocations: 348.7 kB / 1.037 GB, free: 120 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.309, allocations: 38.77 kB / 1.037 GB, free: 72 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.309, allocations: 0 / 1.037 GB, free: 72 kB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.00133/0.3104, allocations: 0.5431 MB / 1.038 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3104, allocations: 59.39 kB / 1.038 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.3115, allocations: 0.8791 MB / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.3117, allocations: 53.7 kB / 1.039 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.3122, allocations: 0.5337 MB / 1.039 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3123, allocations: 114.4 kB / 1.039 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.3123, allocations: 8 kB / 1.039 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3125, allocations: 333.9 kB / 1.04 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.3129, allocations: 177.2 kB / 1.04 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.3141, allocations: 1.139 MB / 1.041 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.3147, allocations: 306.8 kB / 1.041 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3147, allocations: 0 / 1.041 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001247/0.3159, allocations: 0.6422 MB / 1.042 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/0.3161, allocations: 149.7 kB / 1.042 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3161, allocations: 3.938 kB / 1.042 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.3161, allocations: 11.95 kB / 1.042 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.3175, allocations: 247.6 kB / 1.042 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.3191, allocations: 2.954 MB / 1.045 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/0.3226, allocations: 0.7535 MB / 1.046 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.3227, allocations: 31.94 kB / 1.046 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3227, allocations: 4 kB / 1.046 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000974/0.3237, allocations: 0.4972 MB / 1.046 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3237, allocations: 0 / 1.046 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3238, allocations: 8 kB / 1.046 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.3244, allocations: 155.8 kB / 1.047 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3244, allocations: 4 kB / 1.047 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/0.3275, allocations: 0.738 MB / 1.047 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.3276, allocations: 27.98 kB / 1.047 GB, free: 5.141 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.0005465/0.3281, allocations: 329.9 kB / 1.048 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.3283, allocations: 94.73 kB / 1.048 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.3295, allocations: 0.5319 MB / 1.048 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.3295, allocations: 11.94 kB / 1.048 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3295, allocations: 3.984 kB / 1.048 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3295, allocations: 0 / 1.048 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.3316, allocations: 1.256 MB / 1.05 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.3317, allocations: 0 / 1.05 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.3322, allocations: 124 kB / 1.05 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.3322, allocations: 4 kB / 1.05 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.3322, allocations: 11.94 kB / 1.05 GB, free: 2.695 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.3338, allocations: 2.95 MB / 1.053 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3339, allocations: 0 / 1.053 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/0.3348, allocations: 0.578 MB / 1.053 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.3352, allocations: 219.7 kB / 1.053 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.3353, allocations: 8 kB / 1.053 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.3359, allocations: 63.78 kB / 1.053 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.336, allocations: 31.91 kB / 1.053 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.336, allocations: 19.98 kB / 1.053 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008252/0.3369, allocations: 0.5806 MB / 1.054 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3369, allocations: 4 kB / 1.054 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001547/0.3384, allocations: 0.5345 MB / 1.055 GB, free: 13.54 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.0007572/0.3392, allocations: 332 kB / 1.055 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002469/0.3417, allocations: 0.8313 MB / 1.056 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.3417, allocations: 4 kB / 1.056 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.3423, allocations: 236.2 kB / 1.056 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.3448, allocations: 0.4893 MB / 1.056 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.3474, allocations: 1.774 MB / 1.058 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.348, allocations: 1.025 MB / 1.059 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001127/0.3492, allocations: 207.1 kB / 1.059 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.3494, allocations: 83.41 kB / 1.059 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of SimCode: time 5.11e-07/0.3494, allocations: 3.938 kB / 1.059 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of Templates: time 0.4694/0.8188, allocations: 23.75 MB / 1.083 GB, free: 85.77 MB / 0.6823 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)