Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.661/2.661, allocations: 287.3 MB / 302.3 MB, free: 8.227 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.001594/0.001594, allocations: 181.2 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.00163/0.00163, allocations: 102.3 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004947, allocations: 12.83 kB / 0.8656 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.216, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01842/0.2345, allocations: 13.27 MB / 0.9911 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.2474, allocations: 6.354 MB / 0.9973 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000795/0.2483, allocations: 15.88 kB / 0.9974 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.2499, allocations: 342.5 kB / 0.9977 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.2526, allocations: 0.6044 MB / 0.9983 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007383/0.26, allocations: 1.852 MB / 1 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.2615, allocations: 0.6287 MB / 1.001 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005785/0.2622, allocations: 262.5 kB / 1.001 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008307/0.263, allocations: 342.8 kB / 1.001 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.2635, allocations: 219 kB / 1.001 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.2636, allocations: 16 kB / 1.002 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2647, allocations: 387.4 kB / 1.002 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.2649, allocations: 79.67 kB / 1.002 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.265, allocations: 109.5 kB / 1.002 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.2659, allocations: 478.8 kB / 1.003 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2659, allocations: 0 / 1.003 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2659, allocations: 0 / 1.003 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2659, allocations: 4 kB / 1.003 GB, free: 3.465 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.001439/0.2674, allocations: 0.7279 MB / 1.003 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2674, allocations: 11.97 kB / 1.003 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.2676, allocations: 59.3 kB / 1.003 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/0.2683, allocations: 389 kB / 1.004 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.2684, allocations: 20.44 kB / 1.004 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.2684, allocations: 32 kB / 1.004 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.2691, allocations: 211.2 kB / 1.004 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2691, allocations: 8 kB / 1.004 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.2691, allocations: 8 kB / 1.004 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2692, allocations: 4 kB / 1.004 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.2697, allocations: 173.6 kB / 1.004 GB, free: 1.75 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.002229/0.272, allocations: 0.9574 MB / 1.005 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.2725, allocations: 134.6 kB / 1.005 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.2728, allocations: 336.4 kB / 1.005 GB, free: 176 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.2728, allocations: 38.44 kB / 1.006 GB, free: 128 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.2728, allocations: 0 / 1.006 GB, free: 128 kB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001043/0.2739, allocations: 259.6 kB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2739, allocations: 51.41 kB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.2747, allocations: 465.9 kB / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.2748, allocations: 37.7 kB / 1.006 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.2751, allocations: 228.6 kB / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.2752, allocations: 47.3 kB / 1.007 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.2752, allocations: 4 kB / 1.007 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2754, allocations: 346.8 kB / 1.007 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.2757, allocations: 75.81 kB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.2762, allocations: 158 kB / 1.007 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.2765, allocations: 79.97 kB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.2765, allocations: 7.953 kB / 1.007 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009348/0.2775, allocations: 263.4 kB / 1.007 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.2777, allocations: 267 kB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.2777, allocations: 0 / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.2777, allocations: 4 kB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.2782, allocations: 55.86 kB / 1.008 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.2782, allocations: 7.984 kB / 1.008 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.2789, allocations: 43.81 kB / 1.008 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.2789, allocations: 8 kB / 1.008 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2789, allocations: 4 kB / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007535/0.2797, allocations: 196.9 kB / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2797, allocations: 0 / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.2797, allocations: 96 / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.2801, allocations: 59.84 kB / 1.008 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2802, allocations: 0 / 1.008 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.2808, allocations: 51.73 kB / 1.008 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.2809, allocations: 8 kB / 1.008 GB, free: 13.36 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.0003191/0.2812, allocations: 241 kB / 1.008 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.2813, allocations: 43.44 kB / 1.008 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009181/0.2822, allocations: 253.1 kB / 1.009 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.2823, allocations: 4 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.2823, allocations: 0 / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2823, allocations: 3.938 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.284, allocations: 0.7199 MB / 1.009 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.284, allocations: 4.125 kB / 1.009 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.2843, allocations: 35.97 kB / 1.009 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.2843, allocations: 4 kB / 1.009 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2844, allocations: 8 kB / 1.009 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.2844, allocations: 0 / 1.009 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.2844, allocations: 4 kB / 1.009 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/0.2852, allocations: 403.6 kB / 1.01 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.2855, allocations: 148.4 kB / 1.01 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.2856, allocations: 4 kB / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.286, allocations: 19.98 kB / 1.01 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.2861, allocations: 15.98 kB / 1.01 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.2861, allocations: 11.98 kB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005791/0.2867, allocations: 322.9 kB / 1.01 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2867, allocations: 3.938 kB / 1.01 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001031/0.2878, allocations: 191.7 kB / 1.01 GB, free: 10.79 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.001564/0.2894, allocations: 486 kB / 1.011 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.2906, allocations: 283.6 kB / 1.011 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2906, allocations: 0 / 1.011 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.291, allocations: 87.83 kB / 1.011 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.2931, allocations: 222.3 kB / 1.012 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.2951, allocations: 0.8232 MB / 1.012 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.2956, allocations: 0.835 MB / 1.013 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005842/0.2962, allocations: 91.38 kB / 1.013 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.2964, allocations: 39.44 kB / 1.013 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of SimCode: time 1.283e-06/0.2964, allocations: 0 / 1.013 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of Templates: time 0.02501/0.3214, allocations: 8.123 MB / 1.021 GB, free: 0 / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)