Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 193.9 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.048/3.048, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 68.19 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3394, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0181/0.3575, allocations: 15.49 MB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.368, allocations: 4.361 MB / 1.087 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.3691, allocations: 19.88 kB / 1.087 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.3707, allocations: 226.8 kB / 1.087 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.3736, allocations: 0.5397 MB / 1.088 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.3765, allocations: 0.6346 MB / 1.088 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002578/0.3791, allocations: 1.304 MB / 1.09 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000832/0.3799, allocations: 299.9 kB / 1.09 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.3812, allocations: 386.3 kB / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009071/0.3821, allocations: 330.5 kB / 1.091 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.3823, allocations: 16 kB / 1.091 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.3845, allocations: 0.6043 MB / 1.091 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.3847, allocations: 87.61 kB / 1.091 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005985/0.3853, allocations: 218.7 kB / 1.091 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.3874, allocations: 0.74 MB / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3874, allocations: 0 / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3874, allocations: 0 / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.3875, allocations: 0 / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002477/0.3899, allocations: 0.8291 MB / 1.093 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.39, allocations: 12.03 kB / 1.093 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.3903, allocations: 52.28 kB / 1.093 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.3916, allocations: 429.3 kB / 1.093 GB, free: 192 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.3918, allocations: 20.44 kB / 1.093 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.3919, allocations: 27.94 kB / 1.093 GB, free: 144 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/0.3928, allocations: 211.2 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3928, allocations: 0 / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.3929, allocations: 12 kB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3929, allocations: 4 kB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.3937, allocations: 165.6 kB / 1.094 GB, free: 15.75 MB / 0.8575 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.003058/0.3967, allocations: 0.9457 MB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.3973, allocations: 130.5 kB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.3976, allocations: 68.81 kB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005176/0.3982, allocations: 340.4 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.942e-05/0.3982, allocations: 34.56 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 2.925e-06/0.3983, allocations: 0 / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.00121/0.3995, allocations: 233.1 kB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.3996, allocations: 59.34 kB / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/0.4006, allocations: 477.9 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.4007, allocations: 29.7 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.401, allocations: 232.6 kB / 1.096 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.4011, allocations: 51.36 kB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.4014, allocations: 61.59 kB / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002471/0.4016, allocations: 358.7 kB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.402, allocations: 72.75 kB / 1.097 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.4026, allocations: 151.7 kB / 1.097 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.4033, allocations: 160.2 kB / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.4033, allocations: 4 kB / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001/0.4043, allocations: 258.5 kB / 1.097 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4044, allocations: 4 kB / 1.097 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4044, allocations: 4 kB / 1.097 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4044, allocations: 0 / 1.097 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.4049, allocations: 47.91 kB / 1.097 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.4049, allocations: 0 / 1.097 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.4056, allocations: 47.72 kB / 1.097 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.4057, allocations: 7.984 kB / 1.097 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005264/0.4062, allocations: 192.1 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004852/0.4067, allocations: 167.6 kB / 1.098 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006754/0.4074, allocations: 168.1 kB / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.4075, allocations: 0 / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.001076/0.4085, allocations: 260 kB / 1.098 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4086, allocations: 4 kB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4086, allocations: 0 / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4086, allocations: 4 kB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.409, allocations: 51.91 kB / 1.098 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4091, allocations: 0 / 1.098 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.4098, allocations: 51.86 kB / 1.098 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.4099, allocations: 8 kB / 1.098 GB, free: 10.82 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.4101, allocations: 196.1 kB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.4103, allocations: 43.44 kB / 1.099 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.4114, allocations: 254.9 kB / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4114, allocations: 7.984 kB / 1.099 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4114, allocations: 0 / 1.099 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4115, allocations: 0 / 1.099 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.4134, allocations: 0.7005 MB / 1.099 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.4134, allocations: 4 kB / 1.1 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.4136, allocations: 31.97 kB / 1.1 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.4137, allocations: 4 kB / 1.1 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.4137, allocations: 4 kB / 1.1 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.4137, allocations: 3.938 kB / 1.1 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.4137, allocations: 0 / 1.1 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008848/0.4146, allocations: 350.2 kB / 1.1 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.4149, allocations: 132.6 kB / 1.1 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.415, allocations: 8.188 kB / 1.1 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.4155, allocations: 27.91 kB / 1.1 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.4156, allocations: 15.92 kB / 1.1 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.4156, allocations: 8 kB / 1.1 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006972/0.4164, allocations: 334.9 kB / 1.1 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4164, allocations: 0 / 1.1 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001234/0.4176, allocations: 199.6 kB / 1.101 GB, free: 8.398 MB / 0.8575 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/0.4198, allocations: 490.7 kB / 1.101 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.4211, allocations: 271.6 kB / 1.101 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4211, allocations: 0 / 1.101 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.4215, allocations: 87.83 kB / 1.101 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.4241, allocations: 217.3 kB / 1.102 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.4265, allocations: 0.8436 MB / 1.102 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.4271, allocations: 0.8233 MB / 1.103 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006774/0.4278, allocations: 95.38 kB / 1.103 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.428, allocations: 35.44 kB / 1.103 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of SimCode: time 3.998e-06/0.428, allocations: 0 / 1.103 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of Templates: time 0.03028/0.4583, allocations: 8.328 MB / 1.111 GB, free: 13.42 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)