Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 62.41 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3641, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01862/0.3827, allocations: 17.47 MB / 1.085 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007458/0.3903, allocations: 4.913 MB / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007378/0.391, allocations: 19.88 kB / 1.09 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009445/0.392, allocations: 246.4 kB / 1.09 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.3937, allocations: 0.6141 MB / 1.091 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.3958, allocations: 0.731 MB / 1.092 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.397, allocations: 0.9584 MB / 1.093 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.3975, allocations: 345.2 kB / 1.093 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006576/0.3982, allocations: 418.3 kB / 1.093 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.3986, allocations: 310.6 kB / 1.094 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.3986, allocations: 35.98 kB / 1.094 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.3999, allocations: 0.7214 MB / 1.094 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.4, allocations: 127.6 kB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.4003, allocations: 250.6 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.4014, allocations: 0.8725 MB / 1.096 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4014, allocations: 0 / 1.096 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4014, allocations: 0 / 1.096 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.4014, allocations: 0 / 1.096 GB, free: 14.33 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.00122/0.4027, allocations: 0.87 MB / 1.096 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4027, allocations: 12.03 kB / 1.096 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.4029, allocations: 60.28 kB / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.4035, allocations: 453.5 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4035, allocations: 24.5 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.4036, allocations: 28 kB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.4041, allocations: 290.2 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4041, allocations: 4 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.4041, allocations: 8 kB / 1.097 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4041, allocations: 8 kB / 1.097 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.4046, allocations: 186.1 kB / 1.097 GB, free: 12.3 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.001809/0.4064, allocations: 1.488 MB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.4067, allocations: 162.8 kB / 1.099 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.4069, allocations: 84.72 kB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/0.4085, allocations: 1.272 MB / 1.1 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.4085, allocations: 38.5 kB / 1.1 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.4086, allocations: 0 / 1.1 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006438/0.4092, allocations: 257 kB / 1.101 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.4092, allocations: 51.41 kB / 1.101 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006273/0.4099, allocations: 0.5808 MB / 1.101 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.4099, allocations: 37.69 kB / 1.101 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.4101, allocations: 264.1 kB / 1.101 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.4102, allocations: 63.17 kB / 1.102 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4103, allocations: 65.98 kB / 1.102 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4104, allocations: 362.8 kB / 1.102 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.4106, allocations: 81.92 kB / 1.102 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.4109, allocations: 212.2 kB / 1.102 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.4113, allocations: 233.2 kB / 1.102 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4113, allocations: 0 / 1.102 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005618/0.4119, allocations: 314.7 kB / 1.103 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4119, allocations: 11.88 kB / 1.103 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.4119, allocations: 7.984 kB / 1.103 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.412, allocations: 4 kB / 1.103 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.4122, allocations: 63.91 kB / 1.103 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4122, allocations: 4 kB / 1.103 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.4125, allocations: 47.91 kB / 1.103 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.4126, allocations: 16 kB / 1.103 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000293/0.4129, allocations: 212.6 kB / 1.103 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000275/0.4132, allocations: 210.4 kB / 1.103 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003778/0.4136, allocations: 230.6 kB / 1.104 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.634e-06/0.4136, allocations: 0 / 1.104 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005346/0.4141, allocations: 306.8 kB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.4141, allocations: 9.562 kB / 1.104 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.4141, allocations: 3.938 kB / 1.104 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/0.4141, allocations: 4 kB / 1.104 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4144, allocations: 67.89 kB / 1.104 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4144, allocations: 7.984 kB / 1.104 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.4147, allocations: 40.02 kB / 1.104 GB, free: 5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.4147, allocations: 15.98 kB / 1.104 GB, free: 4.984 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.0001209/0.4149, allocations: 192.2 kB / 1.104 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/0.4149, allocations: 55.28 kB / 1.104 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.4155, allocations: 265.7 kB / 1.104 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4155, allocations: 0 / 1.104 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4155, allocations: 0 / 1.104 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4155, allocations: 4 kB / 1.104 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.4166, allocations: 0.7356 MB / 1.105 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4166, allocations: 4.031 kB / 1.105 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.4167, allocations: 35.91 kB / 1.105 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4167, allocations: 4 kB / 1.105 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4167, allocations: 4 kB / 1.105 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4167, allocations: 4 kB / 1.105 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4168, allocations: 192 / 1.105 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.4172, allocations: 354.1 kB / 1.106 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.4174, allocations: 152.4 kB / 1.106 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.4174, allocations: 4 kB / 1.106 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.4176, allocations: 15.92 kB / 1.106 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.4177, allocations: 19.92 kB / 1.106 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.4177, allocations: 12 kB / 1.106 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004427/0.4182, allocations: 414.8 kB / 1.106 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4182, allocations: 0 / 1.106 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007261/0.4189, allocations: 235.7 kB / 1.106 GB, free: 2.383 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.001133/0.42, allocations: 496 kB / 1.107 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007218/0.4208, allocations: 325.8 kB / 1.107 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4208, allocations: 3.938 kB / 1.107 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.421, allocations: 87.89 kB / 1.107 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.4222, allocations: 255.5 kB / 1.108 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4234, allocations: 0.8094 MB / 1.108 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.4238, allocations: 0.8468 MB / 1.109 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003158/0.4242, allocations: 108.6 kB / 1.109 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.4242, allocations: 35.44 kB / 1.109 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.4243, allocations: 0 / 1.109 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.01686/0.4411, allocations: 10.19 MB / 1.119 GB, free: 5.461 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)