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.00139/0.00139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001571/0.001571, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 68.33 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3683, allocations: 159.9 MB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01864/0.387, allocations: 17.4 MB / 1.085 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006807/0.3939, allocations: 4.932 MB / 1.089 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005527/0.3945, allocations: 11.94 kB / 1.089 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008311/0.3953, allocations: 218.9 kB / 1.09 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.3967, allocations: 0.5521 MB / 1.09 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.3985, allocations: 0.6491 MB / 1.091 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.3999, allocations: 1.27 MB / 1.092 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.4003, allocations: 301.5 kB / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006467/0.4009, allocations: 374.3 kB / 1.093 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.4013, allocations: 326.6 kB / 1.093 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.4014, allocations: 20 kB / 1.093 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.4026, allocations: 0.6939 MB / 1.094 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.4027, allocations: 123.6 kB / 1.094 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.403, allocations: 234.6 kB / 1.094 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.404, allocations: 0.8607 MB / 1.095 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.404, allocations: 0 / 1.095 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.82e-07/0.404, allocations: 4 kB / 1.095 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.404, allocations: 0 / 1.095 GB, free: 14.96 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.001227/0.4053, allocations: 0.8758 MB / 1.096 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4053, allocations: 8.031 kB / 1.096 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.4055, allocations: 60.28 kB / 1.096 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.406, allocations: 457.6 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.4061, allocations: 28.5 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.4061, allocations: 32 kB / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.4066, allocations: 282.2 kB / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4067, allocations: 0 / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.4067, allocations: 8 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.4067, allocations: 8 kB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.4071, allocations: 194.1 kB / 1.097 GB, free: 12.93 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.001874/0.409, allocations: 1.472 MB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.4093, allocations: 158.8 kB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.4095, allocations: 96.7 kB / 1.098 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/0.4111, allocations: 1.26 MB / 1.1 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.4112, allocations: 50.44 kB / 1.1 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.996e-06/0.4112, allocations: 3.984 kB / 1.1 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006752/0.4119, allocations: 243.7 kB / 1.1 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4119, allocations: 55.41 kB / 1.1 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.4125, allocations: 0.5847 MB / 1.101 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.4126, allocations: 29.7 kB / 1.101 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.4128, allocations: 272.1 kB / 1.101 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.4128, allocations: 55.19 kB / 1.101 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.413, allocations: 73.97 kB / 1.101 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4131, allocations: 358.8 kB / 1.101 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.4133, allocations: 81.88 kB / 1.101 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.4136, allocations: 210.7 kB / 1.102 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.414, allocations: 232.3 kB / 1.102 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.414, allocations: 7.938 kB / 1.102 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005767/0.4146, allocations: 304.7 kB / 1.102 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4146, allocations: 11.88 kB / 1.102 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4147, allocations: 4 kB / 1.102 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4147, allocations: 8.25 kB / 1.102 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.4149, allocations: 67.89 kB / 1.102 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.415, allocations: 7.938 kB / 1.102 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.4153, allocations: 39.67 kB / 1.102 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.4153, allocations: 19.98 kB / 1.102 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003215/0.4157, allocations: 212.6 kB / 1.102 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002734/0.416, allocations: 202.5 kB / 1.103 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003746/0.4163, allocations: 240.2 kB / 1.103 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.4164, allocations: 4.188 kB / 1.103 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005704/0.4169, allocations: 296.8 kB / 1.103 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.4169, allocations: 12.19 kB / 1.103 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.417, allocations: 11.94 kB / 1.103 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/0.417, allocations: 7.938 kB / 1.103 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.4172, allocations: 59.91 kB / 1.103 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.4172, allocations: 4 kB / 1.103 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.4176, allocations: 40 kB / 1.103 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.4176, allocations: 19.98 kB / 1.103 GB, free: 5.621 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.0001346/0.4177, allocations: 196.9 kB / 1.103 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.4178, allocations: 59.27 kB / 1.104 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.4184, allocations: 267.3 kB / 1.104 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.4185, allocations: 0 / 1.104 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4185, allocations: 4 kB / 1.104 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4185, allocations: 4 kB / 1.104 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4195, allocations: 0.7316 MB / 1.104 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4196, allocations: 0 / 1.104 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.4197, allocations: 36.09 kB / 1.105 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4197, allocations: 4 kB / 1.105 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4197, allocations: 4 kB / 1.105 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.4197, allocations: 4 kB / 1.105 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4197, allocations: 3.938 kB / 1.105 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.4202, allocations: 351.5 kB / 1.105 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.4204, allocations: 148.4 kB / 1.105 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.4205, allocations: 4 kB / 1.105 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.4207, allocations: 19.92 kB / 1.105 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.4208, allocations: 23.86 kB / 1.105 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.4208, allocations: 11.98 kB / 1.105 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005001/0.4213, allocations: 418.8 kB / 1.105 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4213, allocations: 0 / 1.105 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008089/0.4221, allocations: 231.7 kB / 1.106 GB, free: 3.008 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.001277/0.4234, allocations: 496.2 kB / 1.106 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008059/0.4242, allocations: 321.8 kB / 1.106 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4243, allocations: 3.938 kB / 1.106 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.4245, allocations: 83.89 kB / 1.107 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.4258, allocations: 250.4 kB / 1.107 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.4273, allocations: 0.9576 MB / 1.108 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.4277, allocations: 0.8429 MB / 1.109 GB, free: 152 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004017/0.4281, allocations: 108.2 kB / 1.109 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/0.4282, allocations: 39.42 kB / 1.109 GB, free: 0 / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.4282, allocations: 0 / 1.109 GB, free: 0 / 0.8575 GB Notification: Performance of Templates: time 0.01716/0.4454, allocations: 9.884 MB / 1.118 GB, free: 6.246 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)