Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.673/1.673, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001108/0.001108, allocations: 195.7 kB / 371.8 MB, free: 10.29 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.553/1.553, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009232/0.0009232, allocations: 101.7 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004051, allocations: 15.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2449, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01263/0.2576, allocations: 14.84 MB / 0.994 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008799/0.2664, allocations: 6.689 MB / 1.001 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005689/0.267, allocations: 15.88 kB / 1.001 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.2681, allocations: 282.8 kB / 1.001 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.2699, allocations: 0.553 MB / 1.001 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0049/0.2749, allocations: 1.702 MB / 1.003 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.2759, allocations: 0.5856 MB / 1.004 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.2763, allocations: 270.6 kB / 1.004 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.2769, allocations: 326.8 kB / 1.004 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.2772, allocations: 219 kB / 1.004 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.2772, allocations: 16 kB / 1.004 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009477/0.2782, allocations: 443.3 kB / 1.005 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2783, allocations: 115.6 kB / 1.005 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.495e-05/0.2784, allocations: 113.5 kB / 1.005 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006099/0.279, allocations: 0.5338 MB / 1.006 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.279, allocations: 0 / 1.006 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.896e-06/0.279, allocations: 0 / 1.006 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2791, allocations: 4 kB / 1.006 GB, free: 0.9023 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001233/0.2803, allocations: 0.7746 MB / 1.006 GB, free: 80 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.2804, allocations: 12.03 kB / 1.006 GB, free: 68 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.477e-05/0.2805, allocations: 58.53 kB / 1.006 GB, free: 0 / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.2807, allocations: 59.52 kB / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007556/0.2815, allocations: 420.9 kB / 1.007 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2815, allocations: 20.56 kB / 1.007 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.2816, allocations: 39.77 kB / 1.007 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.2821, allocations: 286.2 kB / 1.007 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2821, allocations: 3.984 kB / 1.007 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.2822, allocations: 12 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2822, allocations: 8 kB / 1.007 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.2826, allocations: 198.1 kB / 1.007 GB, free: 14.91 MB / 0.6355 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.002057/0.2847, allocations: 1.48 MB / 1.009 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.285, allocations: 166.8 kB / 1.009 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/0.2868, allocations: 1.276 MB / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2868, allocations: 42.5 kB / 1.01 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.2869, allocations: 4 kB / 1.01 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006664/0.2875, allocations: 264 kB / 1.01 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2876, allocations: 59.41 kB / 1.011 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.2883, allocations: 0.5769 MB / 1.011 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.2884, allocations: 33.7 kB / 1.011 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.2886, allocations: 268.1 kB / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.2887, allocations: 55.2 kB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.2887, allocations: 4 kB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002494/0.289, allocations: 362.7 kB / 1.012 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.2892, allocations: 80.52 kB / 1.012 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.2895, allocations: 214.7 kB / 1.012 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.2897, allocations: 106.3 kB / 1.012 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2898, allocations: 4 kB / 1.012 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006068/0.2904, allocations: 308.9 kB / 1.012 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005152/0.2909, allocations: 0.9716 MB / 1.013 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2909, allocations: 0 / 1.013 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.6e-05/0.291, allocations: 4 kB / 1.013 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.2912, allocations: 63.91 kB / 1.013 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2913, allocations: 8 kB / 1.014 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.2916, allocations: 47.66 kB / 1.014 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.2917, allocations: 16 kB / 1.014 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2917, allocations: 9.516 kB / 1.014 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000477/0.2922, allocations: 245.9 kB / 1.014 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2922, allocations: 4 kB / 1.014 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.2922, allocations: 4 kB / 1.014 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.2924, allocations: 64.11 kB / 1.014 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.2924, allocations: 11.98 kB / 1.014 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.2927, allocations: 47.72 kB / 1.014 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.2928, allocations: 12 kB / 1.014 GB, free: 7.652 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002581/0.293, allocations: 260.9 kB / 1.014 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.2931, allocations: 55.34 kB / 1.014 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005404/0.2936, allocations: 269.6 kB / 1.015 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.2937, allocations: 0 / 1.015 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2937, allocations: 8 kB / 1.015 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2937, allocations: 3.984 kB / 1.015 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2948, allocations: 0.7395 MB / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2948, allocations: 96 / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.2949, allocations: 39.86 kB / 1.015 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2949, allocations: 4 kB / 1.015 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2949, allocations: 4 kB / 1.015 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2949, allocations: 4 kB / 1.015 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.295, allocations: 3.953 kB / 1.015 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.2955, allocations: 412 kB / 1.016 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.2957, allocations: 152.4 kB / 1.016 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.2957, allocations: 7.953 kB / 1.016 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.2959, allocations: 19.98 kB / 1.016 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.296, allocations: 19.97 kB / 1.016 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.296, allocations: 4 kB / 1.016 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004784/0.2965, allocations: 414.8 kB / 1.016 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2965, allocations: 3.938 kB / 1.016 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007833/0.2973, allocations: 231.6 kB / 1.016 GB, free: 4.883 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 (17): * Single equations (assignments): 15 * 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.002016/0.2993, allocations: 1.608 MB / 1.018 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008277/0.3002, allocations: 335.8 kB / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3002, allocations: 0 / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.3004, allocations: 88.89 kB / 1.018 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.3018, allocations: 251.1 kB / 1.019 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.3046, allocations: 2.933 MB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.3052, allocations: 0.8623 MB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004079/0.3056, allocations: 96.67 kB / 1.023 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.3058, allocations: 163.4 kB / 1.023 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.3058, allocations: 0 / 1.023 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.3386, allocations: 14.07 MB / 1.036 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.3389, allocations: 238.6 kB / 1.037 GB, free: 408 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/2.759, allocations: 0 / 1.037 GB, free: 408 kB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)