Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.792/1.792, allocations: 288.4 MB / 303.4 MB, free: 8.219 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.001373/0.001374, allocations: 180.5 kB / 372 MB, free: 10.28 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.786/1.786, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0009966/0.0009973, allocations: 94.34 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004513, allocations: 15.5 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2674, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01613/0.2836, allocations: 17.98 MB / 0.9971 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009851/0.2935, allocations: 7.73 MB / 1.005 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.2942, allocations: 27.75 kB / 1.005 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.2949, allocations: 190.7 kB / 1.005 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.2962, allocations: 0.6099 MB / 1.005 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.2979, allocations: 0.7259 MB / 1.006 GB, free: 372 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.2997, allocations: 1.681 MB / 1.008 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/0.3002, allocations: 419.2 kB / 1.008 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/0.301, allocations: 0.5251 MB / 1.009 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.3016, allocations: 0.494 MB / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.3016, allocations: 28 kB / 1.009 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3027, allocations: 0.5925 MB / 1.01 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3028, allocations: 123.4 kB / 1.01 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3029, allocations: 153.3 kB / 1.01 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007234/0.3037, allocations: 0.7403 MB / 1.011 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3037, allocations: 0 / 1.011 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3037, allocations: 0 / 1.011 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.3037, allocations: 4 kB / 1.011 GB, free: 11.59 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001721/0.3054, allocations: 0.9928 MB / 1.012 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3055, allocations: 8.031 kB / 1.012 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.3056, allocations: 83.06 kB / 1.012 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.3063, allocations: 478.7 kB / 1.012 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.3063, allocations: 37 kB / 1.012 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.3064, allocations: 52 kB / 1.012 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.3075, allocations: 0.6371 MB / 1.013 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3075, allocations: 3.938 kB / 1.013 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.3076, allocations: 24 kB / 1.013 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3076, allocations: 12 kB / 1.013 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.3087, allocations: 0.5112 MB / 1.014 GB, free: 8.602 MB / 0.6355 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.003345/0.3121, allocations: 3.193 MB / 1.017 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.3128, allocations: 359.9 kB / 1.017 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.3133, allocations: 248.2 kB / 1.017 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.3137, allocations: 344.4 kB / 1.018 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.3137, allocations: 46.58 kB / 1.018 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 1.623e-06/0.3137, allocations: 0 / 1.018 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.00224/0.316, allocations: 0.8611 MB / 1.018 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.316, allocations: 55.41 kB / 1.019 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.3167, allocations: 0.5821 MB / 1.019 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.3167, allocations: 37.7 kB / 1.019 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.317, allocations: 324.4 kB / 1.019 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/0.3171, allocations: 134.2 kB / 1.02 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.3171, allocations: 8 kB / 1.02 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3173, allocations: 378.7 kB / 1.02 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.3178, allocations: 221.1 kB / 1.02 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.3184, allocations: 376 kB / 1.021 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.3189, allocations: 260.7 kB / 1.021 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3189, allocations: 0 / 1.021 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001366/0.3203, allocations: 0.73 MB / 1.021 GB, free: 84 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.3205, allocations: 219.6 kB / 1.022 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3205, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.3211, allocations: 160.7 kB / 1.022 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.3218, allocations: 151.8 kB / 1.022 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006385/0.3224, allocations: 0.6226 MB / 1.023 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.323, allocations: 111.3 kB / 1.023 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.3231, allocations: 31.98 kB / 1.023 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.3231, allocations: 4 kB / 1.023 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/0.3243, allocations: 0.6189 MB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3244, allocations: 7.953 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.3244, allocations: 15.94 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.325, allocations: 164.3 kB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.325, allocations: 7.938 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.3255, allocations: 99.47 kB / 1.024 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.3256, allocations: 27.98 kB / 1.024 GB, free: 13.76 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002787/0.3259, allocations: 264.9 kB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.326, allocations: 63.39 kB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.3274, allocations: 0.6836 MB / 1.025 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3274, allocations: 4 kB / 1.025 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3274, allocations: 4 kB / 1.025 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3275, allocations: 3.984 kB / 1.025 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.3298, allocations: 1.385 MB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3298, allocations: 4 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.3302, allocations: 91.97 kB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000416/0.3306, allocations: 128.8 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.3307, allocations: 15.98 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006445/0.3313, allocations: 0.6342 MB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3314, allocations: 8.094 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.3327, allocations: 0.7204 MB / 1.028 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.3329, allocations: 204 kB / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.333, allocations: 8 kB / 1.028 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.3335, allocations: 55.94 kB / 1.028 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.3336, allocations: 27.97 kB / 1.028 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.3336, allocations: 19.98 kB / 1.028 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000442/0.3341, allocations: 391.1 kB / 1.028 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3341, allocations: 0 / 1.028 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001087/0.3352, allocations: 383.4 kB / 1.029 GB, free: 8.523 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007163/0.3359, allocations: 300.2 kB / 1.029 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.3379, allocations: 0.9175 MB / 1.03 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3379, allocations: 0 / 1.03 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.3386, allocations: 295.9 kB / 1.03 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.3401, allocations: 284 kB / 1.03 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3423, allocations: 1.272 MB / 1.032 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.3428, allocations: 0.9154 MB / 1.032 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000666/0.3435, allocations: 162.2 kB / 1.033 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.3437, allocations: 67.41 kB / 1.033 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/0.3437, allocations: 0 / 1.033 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of Templates: time 0.0231/0.3668, allocations: 11.82 MB / 1.044 GB, free: 8.609 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)