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.779/1.779, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.001148/0.001149, allocations: 173.8 kB / 371.8 MB, free: 10.27 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.733/1.733, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.000949/0.0009491, allocations: 101.1 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000786/0.0007864, allocations: 11.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2711, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01813/0.2893, allocations: 25.41 MB / 1.004 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.3057, allocations: 10.31 MB / 1.014 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.3075, allocations: 35.62 kB / 1.014 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.3097, allocations: 0.6184 MB / 1.015 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005612/0.3153, allocations: 1.389 MB / 1.016 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.008981/0.3243, allocations: 2.89 MB / 1.019 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004188/0.3285, allocations: 2.093 MB / 1.021 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.3309, allocations: 1.094 MB / 1.022 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.3341, allocations: 1.27 MB / 1.023 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.3369, allocations: 1.286 MB / 1.025 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006345/0.3376, allocations: 64 kB / 1.025 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.3404, allocations: 0.9049 MB / 1.026 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008158/0.3412, allocations: 330.9 kB / 1.026 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008704/0.3421, allocations: 249.1 kB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.345, allocations: 1.524 MB / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.345, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.893e-06/0.345, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.495e-05/0.3451, allocations: 0 / 1.028 GB, free: 10.14 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.002912/0.348, allocations: 1.332 MB / 1.029 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.348, allocations: 12.03 kB / 1.029 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005395/0.3486, allocations: 142.6 kB / 1.029 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.3509, allocations: 0.8564 MB / 1.03 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.3511, allocations: 81.31 kB / 1.03 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/0.3514, allocations: 116 kB / 1.03 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.3527, allocations: 0.6356 MB / 1.031 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3528, allocations: 0 / 1.031 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.3528, allocations: 24 kB / 1.031 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.3529, allocations: 19.94 kB / 1.031 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.3538, allocations: 472.9 kB / 1.031 GB, free: 6.348 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.005153/0.359, allocations: 2.867 MB / 1.034 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.3596, allocations: 325.6 kB / 1.034 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.3599, allocations: 340.7 kB / 1.035 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.36, allocations: 38.84 kB / 1.035 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.036e-06/0.36, allocations: 0 / 1.035 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.00141/0.3614, allocations: 0.5442 MB / 1.035 GB, free: 2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3615, allocations: 59.34 kB / 1.035 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.3627, allocations: 0.8791 MB / 1.036 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.3629, allocations: 53.7 kB / 1.036 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/0.3634, allocations: 0.5415 MB / 1.037 GB, free: 428 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.855e-05/0.3635, allocations: 118.4 kB / 1.037 GB, free: 308 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3636, allocations: 12 kB / 1.037 GB, free: 296 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3638, allocations: 326 kB / 1.037 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.3642, allocations: 177.2 kB / 1.037 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.3655, allocations: 1.132 MB / 1.039 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.3661, allocations: 314.7 kB / 1.039 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3661, allocations: 0 / 1.039 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001348/0.3675, allocations: 0.6422 MB / 1.039 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003616/0.3679, allocations: 0.8099 MB / 1.04 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3679, allocations: 4 kB / 1.04 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3679, allocations: 4 kB / 1.04 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.3693, allocations: 231.7 kB / 1.04 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.371, allocations: 2.957 MB / 1.043 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.3743, allocations: 0.7535 MB / 1.044 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.3744, allocations: 27.98 kB / 1.044 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3744, allocations: 4 kB / 1.044 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/0.3754, allocations: 0.4971 MB / 1.045 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3755, allocations: 4 kB / 1.045 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3755, allocations: 7.984 kB / 1.045 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.3762, allocations: 159.8 kB / 1.045 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3762, allocations: 4 kB / 1.045 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.3794, allocations: 0.7419 MB / 1.045 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.3795, allocations: 24.17 kB / 1.046 GB, free: 6.934 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.0006013/0.3801, allocations: 333.9 kB / 1.046 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.3803, allocations: 94.78 kB / 1.046 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.3815, allocations: 0.5279 MB / 1.046 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.3815, allocations: 4 kB / 1.046 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3815, allocations: 0 / 1.046 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3815, allocations: 3.984 kB / 1.046 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.3837, allocations: 1.26 MB / 1.048 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3837, allocations: 4 kB / 1.048 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.3843, allocations: 128 kB / 1.048 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.3843, allocations: 0 / 1.048 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.3843, allocations: 15.98 kB / 1.048 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.3858, allocations: 2.942 MB / 1.051 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3858, allocations: 4.062 kB / 1.051 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.3867, allocations: 0.6261 MB / 1.051 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.3871, allocations: 223.7 kB / 1.052 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.3872, allocations: 15.86 kB / 1.052 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.3878, allocations: 71.78 kB / 1.052 GB, free: 432 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.3879, allocations: 23.97 kB / 1.052 GB, free: 408 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.3879, allocations: 15.98 kB / 1.052 GB, free: 392 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000806/0.3887, allocations: 0.5845 MB / 1.052 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3887, allocations: 0 / 1.052 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001551/0.3903, allocations: 0.5345 MB / 1.053 GB, free: 15.25 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.0007548/0.391, allocations: 316.7 kB / 1.053 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.3935, allocations: 0.8394 MB / 1.054 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3936, allocations: 4 kB / 1.054 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.3941, allocations: 247.7 kB / 1.054 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.3966, allocations: 498.6 kB / 1.055 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.3994, allocations: 1.758 MB / 1.056 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.4, allocations: 1.046 MB / 1.057 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001138/0.4012, allocations: 211 kB / 1.058 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.4014, allocations: 75.42 kB / 1.058 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of SimCode: time 8.21e-07/0.4014, allocations: 4 kB / 1.058 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of Templates: time 0.4745/0.8759, allocations: 23.73 MB / 1.081 GB, free: 84.95 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)