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.823/1.823, allocations: 288.4 MB / 303.3 MB, free: 8.258 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.001206/0.001206, allocations: 186.1 kB / 372 MB, free: 10.26 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.684/1.684, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008568/0.0008569, allocations: 92.97 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004596, allocations: 16.02 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2552, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01341/0.2687, allocations: 16.09 MB / 0.9954 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008993/0.2777, allocations: 7.085 MB / 1.002 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006364/0.2784, allocations: 15.88 kB / 1.002 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008031/0.2792, allocations: 186.9 kB / 1.002 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.2806, allocations: 0.5014 MB / 1.003 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.2822, allocations: 0.5849 MB / 1.004 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.2834, allocations: 1.088 MB / 1.005 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.2839, allocations: 262.4 kB / 1.005 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008888/0.2848, allocations: 354.4 kB / 1.005 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.2853, allocations: 290.7 kB / 1.005 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/0.2853, allocations: 20 kB / 1.005 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.2868, allocations: 0.5848 MB / 1.006 GB, free: 456 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2869, allocations: 115.6 kB / 1.006 GB, free: 340 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.287, allocations: 117.4 kB / 1.006 GB, free: 216 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008941/0.2879, allocations: 0.569 MB / 1.007 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.288, allocations: 3.938 kB / 1.007 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.227e-05/0.288, allocations: 0 / 1.007 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.288, allocations: 0 / 1.007 GB, free: 15.64 MB / 0.6355 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.001747/0.2898, allocations: 0.798 MB / 1.008 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.416e-05/0.2899, allocations: 8.031 kB / 1.008 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.29, allocations: 62.55 kB / 1.008 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.2902, allocations: 63.23 kB / 1.008 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.2911, allocations: 413 kB / 1.008 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.2912, allocations: 20.56 kB / 1.008 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.2912, allocations: 39.89 kB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.2919, allocations: 290.2 kB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.2919, allocations: 0 / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.292, allocations: 12 kB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.292, allocations: 11.98 kB / 1.008 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.2925, allocations: 202.1 kB / 1.009 GB, free: 13.62 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.002466/0.2949, allocations: 1.476 MB / 1.01 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.2953, allocations: 166.8 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.2956, allocations: 88.81 kB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00206/0.2976, allocations: 1.292 MB / 1.012 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.2977, allocations: 42.44 kB / 1.012 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2977, allocations: 0 / 1.012 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006674/0.2984, allocations: 261.2 kB / 1.012 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.2984, allocations: 51.41 kB / 1.012 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.2991, allocations: 0.5769 MB / 1.013 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2992, allocations: 29.7 kB / 1.013 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.2994, allocations: 272 kB / 1.013 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.2995, allocations: 51.28 kB / 1.013 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.2995, allocations: 8 kB / 1.013 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.2997, allocations: 358.8 kB / 1.013 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2999, allocations: 84.5 kB / 1.013 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.3002, allocations: 210.7 kB / 1.014 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.3005, allocations: 100.8 kB / 1.014 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3005, allocations: 3.984 kB / 1.014 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005718/0.301, allocations: 319 kB / 1.014 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.3012, allocations: 165.8 kB / 1.014 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3012, allocations: 7.984 kB / 1.014 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3012, allocations: 8 kB / 1.014 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.3015, allocations: 67.86 kB / 1.014 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.3015, allocations: 4 kB / 1.014 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.3019, allocations: 55.56 kB / 1.014 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.3019, allocations: 8 kB / 1.014 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.3019, allocations: 8 kB / 1.014 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00047/0.3024, allocations: 243.6 kB / 1.014 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.3024, allocations: 4.25 kB / 1.014 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.3024, allocations: 8 kB / 1.014 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.3027, allocations: 67.91 kB / 1.015 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3027, allocations: 7.938 kB / 1.015 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.3031, allocations: 43.84 kB / 1.015 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.3031, allocations: 12 kB / 1.015 GB, free: 7.105 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.0002486/0.3034, allocations: 265 kB / 1.015 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.3034, allocations: 51.3 kB / 1.015 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/0.3041, allocations: 266.9 kB / 1.015 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.3041, allocations: 4 kB / 1.015 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3041, allocations: 0 / 1.015 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3041, allocations: 7.891 kB / 1.015 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.3053, allocations: 0.741 MB / 1.016 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3053, allocations: 0 / 1.016 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.3055, allocations: 39.91 kB / 1.016 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.3055, allocations: 7.953 kB / 1.016 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3055, allocations: 4 kB / 1.016 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3055, allocations: 4.125 kB / 1.016 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3055, allocations: 4 kB / 1.016 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.3061, allocations: 368.6 kB / 1.016 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.3063, allocations: 148.5 kB / 1.016 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.3063, allocations: 4 kB / 1.016 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.3066, allocations: 15.98 kB / 1.016 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.3067, allocations: 15.98 kB / 1.016 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.3067, allocations: 15.94 kB / 1.016 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005639/0.3073, allocations: 410.8 kB / 1.017 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3073, allocations: 0 / 1.017 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00096/0.3083, allocations: 235.6 kB / 1.017 GB, free: 4.41 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.001878/0.3102, allocations: 1.286 MB / 1.018 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007599/0.3109, allocations: 336.3 kB / 1.019 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.311, allocations: 3.938 kB / 1.019 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3112, allocations: 95.83 kB / 1.019 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.3125, allocations: 252.9 kB / 1.019 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.3165, allocations: 2.694 MB / 1.022 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.3169, allocations: 0.8467 MB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003783/0.3173, allocations: 100.7 kB / 1.023 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.3175, allocations: 163.4 kB / 1.023 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of SimCode: time 8.81e-07/0.3176, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.346, allocations: 14.34 MB / 1.037 GB, free: 0.5078 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.3462, allocations: 238.2 kB / 1.037 GB, free: 240 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.704, allocations: 0 / 1.037 GB, free: 240 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)