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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.0009893/0.0009894, allocations: 190.4 kB / 372 MB, free: 10.27 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.76/1.76, allocations: 205.4 MB / 0.6307 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.0008462/0.0008462, allocations: 98.34 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 12.47 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.241, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02112/0.2622, allocations: 14.36 MB / 0.9937 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.2777, allocations: 6.71 MB / 1 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008523/0.2786, allocations: 15.88 kB / 1 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.2799, allocations: 198.9 kB / 1 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.2824, allocations: 493.4 kB / 1.001 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.2855, allocations: 0.5863 MB / 1.001 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.2873, allocations: 1.115 MB / 1.003 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000567/0.2879, allocations: 250.5 kB / 1.003 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008895/0.2888, allocations: 362.3 kB / 1.003 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005429/0.2894, allocations: 294.7 kB / 1.003 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.884e-05/0.2895, allocations: 23.94 kB / 1.003 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.2909, allocations: 0.5263 MB / 1.004 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.2911, allocations: 83.61 kB / 1.004 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2912, allocations: 105.5 kB / 1.004 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007747/0.292, allocations: 0.5144 MB / 1.005 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2921, allocations: 0 / 1.005 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2921, allocations: 0 / 1.005 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.2921, allocations: 0 / 1.005 GB, free: 1.906 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.001384/0.2935, allocations: 0.7473 MB / 1.005 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.2935, allocations: 8.031 kB / 1.005 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.2936, allocations: 58.55 kB / 1.005 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.2938, allocations: 55.34 kB / 1.005 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.2944, allocations: 393 kB / 1.006 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2945, allocations: 20.44 kB / 1.006 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.2945, allocations: 32 kB / 1.006 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.2952, allocations: 215.2 kB / 1.006 GB, free: 296 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.2952, allocations: 0 / 1.006 GB, free: 296 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.2952, allocations: 11.98 kB / 1.006 GB, free: 284 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2953, allocations: 4 kB / 1.006 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.2958, allocations: 173.6 kB / 1.006 GB, free: 108 kB / 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.002586/0.2984, allocations: 0.9535 MB / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.2989, allocations: 134.6 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.2993, allocations: 84.25 kB / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/0.2997, allocations: 340.4 kB / 1.008 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.2998, allocations: 38.56 kB / 1.008 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 6.011e-06/0.2998, allocations: 0 / 1.008 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0009934/0.3008, allocations: 257.1 kB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.3009, allocations: 51.41 kB / 1.008 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007885/0.3017, allocations: 465.9 kB / 1.009 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.3018, allocations: 33.7 kB / 1.009 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.302, allocations: 232.6 kB / 1.009 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.3021, allocations: 51.36 kB / 1.009 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.3021, allocations: 4 kB / 1.009 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.3024, allocations: 350.7 kB / 1.009 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.3027, allocations: 75.81 kB / 1.009 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.3031, allocations: 151.7 kB / 1.009 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.3034, allocations: 83.98 kB / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.3034, allocations: 7.953 kB / 1.009 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007643/0.3042, allocations: 262.2 kB / 1.01 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.3043, allocations: 114.6 kB / 1.01 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3043, allocations: 0 / 1.01 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3043, allocations: 4 kB / 1.01 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.3047, allocations: 43.97 kB / 1.01 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3047, allocations: 4 kB / 1.01 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.3053, allocations: 43.81 kB / 1.01 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/0.3054, allocations: 15.98 kB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.3054, allocations: 1.25 kB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007359/0.3061, allocations: 195.7 kB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3062, allocations: 7.953 kB / 1.01 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.3062, allocations: 0 / 1.01 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3066, allocations: 47.97 kB / 1.01 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3066, allocations: 0 / 1.01 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/0.3072, allocations: 43.94 kB / 1.01 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.3072, allocations: 12 kB / 1.01 GB, free: 11.8 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.0003662/0.3076, allocations: 242.6 kB / 1.01 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3077, allocations: 47.42 kB / 1.011 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009755/0.3087, allocations: 262.8 kB / 1.011 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.3088, allocations: 7.984 kB / 1.011 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3088, allocations: 0 / 1.011 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3088, allocations: 0 / 1.011 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3105, allocations: 0.716 MB / 1.011 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3106, allocations: 0 / 1.011 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.3108, allocations: 27.98 kB / 1.012 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.3109, allocations: 4 kB / 1.012 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.3109, allocations: 12.12 kB / 1.012 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.3109, allocations: 3.938 kB / 1.012 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3109, allocations: 4 kB / 1.012 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.3118, allocations: 342.3 kB / 1.012 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.3121, allocations: 148.4 kB / 1.012 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/0.3122, allocations: 8 kB / 1.012 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.3126, allocations: 27.97 kB / 1.012 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.3127, allocations: 15.92 kB / 1.012 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.3128, allocations: 8 kB / 1.012 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006777/0.3135, allocations: 326.9 kB / 1.012 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3135, allocations: 0 / 1.012 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001226/0.3147, allocations: 199.7 kB / 1.013 GB, free: 9.297 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.002678/0.3174, allocations: 1.252 MB / 1.014 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.3187, allocations: 275.7 kB / 1.014 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3187, allocations: 0 / 1.014 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.3191, allocations: 95.83 kB / 1.014 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.3216, allocations: 217.8 kB / 1.014 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/0.3284, allocations: 2.252 MB / 1.017 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.3291, allocations: 0.8269 MB / 1.017 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007137/0.3299, allocations: 91.39 kB / 1.017 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.3303, allocations: 147.4 kB / 1.018 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of SimCode: time 1.613e-06/0.3303, allocations: 0 / 1.018 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04789/0.3782, allocations: 12.33 MB / 1.03 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/0.3786, allocations: 246.2 kB / 1.03 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/2.787, allocations: 0 / 1.03 GB, free: 7.742 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)