Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001347/0.001347, allocations: 189.3 kB / 16.25 MB, free: 6.148 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7448 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 70.42 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3382, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0228/0.3611, allocations: 17.36 MB / 1.085 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008016/0.3691, allocations: 4.897 MB / 1.089 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007989/0.37, allocations: 11.94 kB / 1.089 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3711, allocations: 210.9 kB / 1.09 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.3731, allocations: 0.5678 MB / 1.09 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.3754, allocations: 0.6639 MB / 1.091 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.377, allocations: 0.9661 MB / 1.092 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007/0.3777, allocations: 345.2 kB / 1.092 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.3788, allocations: 414.3 kB / 1.093 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006745/0.3795, allocations: 326.6 kB / 1.093 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-05/0.3796, allocations: 35.94 kB / 1.093 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.3812, allocations: 0.7252 MB / 1.094 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.3813, allocations: 127.5 kB / 1.094 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004044/0.3818, allocations: 254.7 kB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.3837, allocations: 0.8645 MB / 1.095 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3837, allocations: 0 / 1.095 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3837, allocations: 0 / 1.095 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.095e-05/0.3837, allocations: 0 / 1.095 GB, free: 14.94 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001789/0.3855, allocations: 0.8797 MB / 1.096 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3856, allocations: 8.031 kB / 1.096 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.3858, allocations: 60.28 kB / 1.096 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.3865, allocations: 461.5 kB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.3866, allocations: 24.5 kB / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.3866, allocations: 28 kB / 1.096 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.3872, allocations: 282.2 kB / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3872, allocations: 4 kB / 1.096 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.3873, allocations: 12 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3873, allocations: 4 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.3877, allocations: 194.1 kB / 1.097 GB, free: 12.9 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.002001/0.3897, allocations: 1.476 MB / 1.098 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.3901, allocations: 162.8 kB / 1.098 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3903, allocations: 80.72 kB / 1.098 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/0.392, allocations: 1.28 MB / 1.1 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.392, allocations: 34.5 kB / 1.1 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.392, allocations: 0 / 1.1 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006357/0.3926, allocations: 254.3 kB / 1.1 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3927, allocations: 51.41 kB / 1.1 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006329/0.3933, allocations: 0.5886 MB / 1.1 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3934, allocations: 33.7 kB / 1.101 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.3936, allocations: 264.1 kB / 1.101 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.3936, allocations: 59.19 kB / 1.101 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.3937, allocations: 65.97 kB / 1.101 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3939, allocations: 358.8 kB / 1.101 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.3941, allocations: 77.94 kB / 1.101 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.3944, allocations: 214.7 kB / 1.102 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.3948, allocations: 242.9 kB / 1.102 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3948, allocations: 0 / 1.102 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005849/0.3954, allocations: 308.9 kB / 1.102 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3954, allocations: 15.97 kB / 1.102 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3955, allocations: 0 / 1.102 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3955, allocations: 4 kB / 1.102 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.3957, allocations: 64.08 kB / 1.102 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3957, allocations: 7.938 kB / 1.102 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.3961, allocations: 51.66 kB / 1.102 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.3962, allocations: 15.98 kB / 1.102 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003157/0.3965, allocations: 216.6 kB / 1.102 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002883/0.3968, allocations: 210.4 kB / 1.103 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003742/0.3972, allocations: 231.1 kB / 1.103 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.3972, allocations: 0 / 1.103 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005354/0.3977, allocations: 310.3 kB / 1.103 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.3977, allocations: 5.562 kB / 1.103 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3977, allocations: 7.938 kB / 1.103 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.3977, allocations: 4 kB / 1.103 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.398, allocations: 63.91 kB / 1.103 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.398, allocations: 4 kB / 1.103 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.3984, allocations: 47.94 kB / 1.103 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3984, allocations: 15.92 kB / 1.103 GB, free: 5.582 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001401/0.3985, allocations: 196.9 kB / 1.103 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.3986, allocations: 51.28 kB / 1.103 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.3992, allocations: 261.7 kB / 1.104 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3992, allocations: 4 kB / 1.104 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3992, allocations: 0 / 1.104 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3992, allocations: 0 / 1.104 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009877/0.4002, allocations: 0.7356 MB / 1.104 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.4002, allocations: 4 kB / 1.104 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.4004, allocations: 35.91 kB / 1.104 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4004, allocations: 0 / 1.104 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4004, allocations: 8 kB / 1.104 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4004, allocations: 0 / 1.104 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/0.4004, allocations: 4 kB / 1.105 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.4009, allocations: 366.1 kB / 1.105 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.4011, allocations: 148.4 kB / 1.105 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.4011, allocations: 0 / 1.105 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.4013, allocations: 23.98 kB / 1.105 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.4014, allocations: 11.92 kB / 1.105 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.4014, allocations: 11.98 kB / 1.105 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004394/0.4019, allocations: 418.8 kB / 1.105 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4019, allocations: 0 / 1.105 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007426/0.4026, allocations: 227.7 kB / 1.106 GB, free: 2.988 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 (17): * Single equations (assignments): 15 * 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.001166/0.4038, allocations: 0.5043 MB / 1.106 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007389/0.4045, allocations: 323.5 kB / 1.106 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4046, allocations: 0 / 1.106 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.4047, allocations: 88.95 kB / 1.107 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.4059, allocations: 253.1 kB / 1.107 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.4073, allocations: 0.9654 MB / 1.108 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.4077, allocations: 0.8389 MB / 1.109 GB, free: 108 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.4081, allocations: 100.6 kB / 1.109 GB, free: 4 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.4082, allocations: 43.42 kB / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.4082, allocations: 0 / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.01791/0.4261, allocations: 10.09 MB / 1.119 GB, free: 6.008 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)