Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 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 / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005448/0.0005448, allocations: 14.97 kB / 0.6737 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2508, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0148/0.2657, allocations: 13.26 MB / 0.8002 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.2774, allocations: 6.356 MB / 0.8064 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008115/0.2782, allocations: 15.88 kB / 0.8064 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.2796, allocations: 342.5 kB / 0.8067 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.2818, allocations: 0.5997 MB / 0.8073 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005583/0.2874, allocations: 1.864 MB / 0.8091 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.2888, allocations: 0.6287 MB / 0.8098 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.2893, allocations: 262.5 kB / 0.81 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.2899, allocations: 342.8 kB / 0.8103 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.2902, allocations: 223 kB / 0.8105 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.2902, allocations: 16 kB / 0.8106 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009475/0.2912, allocations: 387.4 kB / 0.8109 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2913, allocations: 71.67 kB / 0.811 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2914, allocations: 105.5 kB / 0.8111 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.292, allocations: 486.7 kB / 0.8116 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.292, allocations: 4 kB / 0.8116 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.292, allocations: 0 / 0.8116 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2921, allocations: 0 / 0.8116 GB, free: 2.902 MB / 0.6231 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.001374/0.2934, allocations: 0.7201 MB / 0.8123 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.2935, allocations: 16.03 kB / 0.8123 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.11e-05/0.2936, allocations: 58.53 kB / 0.8123 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.2937, allocations: 51.34 kB / 0.8124 GB, free: 2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.2944, allocations: 393 kB / 0.8128 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2944, allocations: 20.44 kB / 0.8128 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.2945, allocations: 28 kB / 0.8128 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.2949, allocations: 211.2 kB / 0.813 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2949, allocations: 0 / 0.813 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.295, allocations: 16 kB / 0.813 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.295, allocations: 11.88 kB / 0.813 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.2954, allocations: 177.6 kB / 0.8132 GB, free: 1.113 MB / 0.6231 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.001691/0.2971, allocations: 0.9496 MB / 0.8141 GB, free: 88 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.2975, allocations: 142.6 kB / 0.8143 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/0.2979, allocations: 332.5 kB / 0.8146 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.2979, allocations: 38.5 kB / 0.8146 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.2979, allocations: 0 / 0.8146 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0007076/0.2986, allocations: 252.1 kB / 0.8149 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.2987, allocations: 55.41 kB / 0.8149 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.2993, allocations: 465.9 kB / 0.8154 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.2993, allocations: 33.7 kB / 0.8154 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.2995, allocations: 232.6 kB / 0.8156 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.2995, allocations: 51.28 kB / 0.8157 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.2996, allocations: 0 / 0.8157 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2998, allocations: 354.8 kB / 0.816 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.2999, allocations: 71.81 kB / 0.8161 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.3002, allocations: 151.6 kB / 0.8162 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.3004, allocations: 91.88 kB / 0.8163 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3004, allocations: 0 / 0.8163 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005126/0.3009, allocations: 256.9 kB / 0.8165 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.3012, allocations: 275 kB / 0.8168 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3012, allocations: 0 / 0.8168 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3012, allocations: 0 / 0.8168 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3014, allocations: 51.91 kB / 0.8169 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3014, allocations: 3.953 kB / 0.8169 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.3018, allocations: 47.81 kB / 0.8169 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.3018, allocations: 8 kB / 0.8169 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.3018, allocations: 7.125 kB / 0.8169 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004723/0.3023, allocations: 195.8 kB / 0.8171 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.3023, allocations: 0 / 0.8171 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-06/0.3023, allocations: 4 kB / 0.8171 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3025, allocations: 51.91 kB / 0.8172 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.3026, allocations: 0 / 0.8172 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.3029, allocations: 43.81 kB / 0.8172 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.3029, allocations: 8 kB / 0.8172 GB, free: 12.74 MB / 0.6387 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.0002289/0.3031, allocations: 252.9 kB / 0.8175 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.3032, allocations: 43.53 kB / 0.8175 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005607/0.3038, allocations: 265.1 kB / 0.8177 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3038, allocations: 3.984 kB / 0.8177 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3038, allocations: 0 / 0.8177 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3038, allocations: 3.938 kB / 0.8178 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3049, allocations: 0.716 MB / 0.8185 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.3049, allocations: 4 kB / 0.8185 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.305, allocations: 32.11 kB / 0.8185 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3051, allocations: 0 / 0.8185 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3051, allocations: 4 kB / 0.8185 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3051, allocations: 4 kB / 0.8185 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3051, allocations: 3.938 kB / 0.8185 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.3056, allocations: 401.1 kB / 0.8189 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.3058, allocations: 144.4 kB / 0.819 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.3058, allocations: 8 kB / 0.819 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.3061, allocations: 19.97 kB / 0.819 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.3061, allocations: 19.98 kB / 0.8191 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.3062, allocations: 4 kB / 0.8191 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000383/0.3066, allocations: 330.8 kB / 0.8194 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3066, allocations: 0 / 0.8194 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007062/0.3073, allocations: 203.7 kB / 0.8196 GB, free: 10.16 MB / 0.6387 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.001998/0.3093, allocations: 1.578 MB / 0.8211 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006696/0.31, allocations: 275.7 kB / 0.8214 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.31, allocations: 0 / 0.8214 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3102, allocations: 91.88 kB / 0.8215 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.3114, allocations: 223.1 kB / 0.8217 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3136, allocations: 1.459 MB / 0.8231 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.3141, allocations: 0.8386 MB / 0.8239 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.3144, allocations: 87.41 kB / 0.824 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.3146, allocations: 143.4 kB / 0.8241 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.3146, allocations: 0 / 0.8241 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.344, allocations: 12.07 MB / 0.8359 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.3443, allocations: 226.4 kB / 0.8361 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.707, allocations: 3.938 kB / 0.8362 GB, free: 9.43 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: