Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 288.3 MB / 303.2 MB, free: 8.223 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.001204/0.001204, allocations: 187.7 kB / 371.9 MB, free: 10.28 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.764/1.764, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.0009498/0.0009498, allocations: 94.8 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 12.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.231, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01308/0.2441, allocations: 13.26 MB / 0.9924 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008536/0.2527, allocations: 6.362 MB / 0.9986 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.2534, allocations: 15.88 kB / 0.9986 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.2545, allocations: 338.5 kB / 0.9989 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.2561, allocations: 0.6036 MB / 0.9995 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00476/0.2609, allocations: 1.855 MB / 1.001 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.2621, allocations: 0.6287 MB / 1.002 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.2625, allocations: 266.5 kB / 1.002 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.263, allocations: 334.8 kB / 1.003 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.2633, allocations: 223 kB / 1.003 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.2634, allocations: 12 kB / 1.003 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000839/0.2642, allocations: 387.4 kB / 1.003 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.2643, allocations: 79.67 kB / 1.003 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.2644, allocations: 105.5 kB / 1.003 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.2649, allocations: 482.7 kB / 1.004 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2649, allocations: 0 / 1.004 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2649, allocations: 0 / 1.004 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2649, allocations: 0 / 1.004 GB, free: 2.758 MB / 0.6198 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.0009868/0.2659, allocations: 0.7318 MB / 1.004 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.266, allocations: 12.03 kB / 1.004 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.2661, allocations: 51.34 kB / 1.005 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.2666, allocations: 396.9 kB / 1.005 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2666, allocations: 20.44 kB / 1.005 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.2667, allocations: 32 kB / 1.005 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.2671, allocations: 215.2 kB / 1.005 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2671, allocations: 0 / 1.005 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.2671, allocations: 11.94 kB / 1.005 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2671, allocations: 4 kB / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.2675, allocations: 177.6 kB / 1.005 GB, free: 1.035 MB / 0.6198 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.001363/0.2689, allocations: 0.9574 MB / 1.006 GB, free: 0 / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.2692, allocations: 134.6 kB / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.2695, allocations: 336.5 kB / 1.007 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2695, allocations: 42.55 kB / 1.007 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2695, allocations: 0 / 1.007 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006301/0.2701, allocations: 256.7 kB / 1.007 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.2702, allocations: 55.41 kB / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.2707, allocations: 461.9 kB / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2707, allocations: 33.7 kB / 1.008 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.2709, allocations: 224.6 kB / 1.008 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.271, allocations: 47.3 kB / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.271, allocations: 8 kB / 1.008 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2711, allocations: 354.8 kB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.2713, allocations: 71.81 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.2716, allocations: 159.5 kB / 1.008 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.2718, allocations: 81.67 kB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2718, allocations: 0 / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004827/0.2723, allocations: 264.8 kB / 1.009 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2724, allocations: 272.2 kB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2724, allocations: 4 kB / 1.009 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2724, allocations: 0 / 1.009 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.2727, allocations: 51.91 kB / 1.009 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.2727, allocations: 3.953 kB / 1.009 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.273, allocations: 43.81 kB / 1.009 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.2731, allocations: 12 kB / 1.009 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.2731, allocations: 4 kB / 1.009 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004028/0.2735, allocations: 189 kB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.2735, allocations: 0 / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.2735, allocations: 4 kB / 1.009 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.2737, allocations: 47.92 kB / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2737, allocations: 7.984 kB / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.2741, allocations: 35.81 kB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2741, allocations: 12 kB / 1.009 GB, free: 12.66 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.2743, allocations: 249.8 kB / 1.01 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.2744, allocations: 43.44 kB / 1.01 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005541/0.2749, allocations: 262.3 kB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.275, allocations: 0 / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.275, allocations: 0 / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.275, allocations: 3.984 kB / 1.01 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.276, allocations: 0.716 MB / 1.011 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.276, allocations: 4 kB / 1.011 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.2761, allocations: 31.97 kB / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2761, allocations: 4 kB / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2762, allocations: 4.188 kB / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2762, allocations: 8.125 kB / 1.011 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2762, allocations: 0 / 1.011 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.2767, allocations: 401.1 kB / 1.011 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.2768, allocations: 156.4 kB / 1.011 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.2769, allocations: 0 / 1.011 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2771, allocations: 23.98 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.2772, allocations: 11.98 kB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2772, allocations: 7.984 kB / 1.011 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003516/0.2776, allocations: 327 kB / 1.012 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2776, allocations: 3.938 kB / 1.012 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007106/0.2783, allocations: 199.7 kB / 1.012 GB, free: 10.08 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.2794, allocations: 479.2 kB / 1.012 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006559/0.2801, allocations: 282.7 kB / 1.012 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2801, allocations: 0 / 1.012 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.2803, allocations: 95.83 kB / 1.013 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.2815, allocations: 226.8 kB / 1.013 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2829, allocations: 0.8271 MB / 1.014 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.2833, allocations: 0.8311 MB / 1.014 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.2836, allocations: 95.53 kB / 1.014 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.2837, allocations: 39.44 kB / 1.014 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of SimCode: time 4.2e-07/0.2837, allocations: 0 / 1.014 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of Templates: time 0.01579/0.2995, allocations: 8.111 MB / 1.022 GB, free: 15.26 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)