Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.635/2.635, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001551/0.001551, allocations: 181.4 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.186/2.186, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001176/0.001176, allocations: 111.7 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005059, allocations: 12.98 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2435, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.375/1.619, allocations: 432.2 MB / 1.4 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003928/1.619, allocations: 108.2 kB / 1.4 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.333/6.952, allocations: 0.974 GB / 2.374 GB, free: 116.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.385e-06/6.953, allocations: 0 / 2.374 GB, free: 116.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005291/6.953, allocations: 82.97 kB / 2.375 GB, free: 116.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01091/6.964, allocations: 3.018 MB / 2.377 GB, free: 114.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/6.964, allocations: 16.12 kB / 2.377 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008917/6.965, allocations: 219.6 kB / 2.378 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/6.967, allocations: 324.3 kB / 2.378 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008826/6.976, allocations: 2.427 MB / 2.38 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/6.976, allocations: 132.1 kB / 2.38 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007358/6.977, allocations: 180 kB / 2.381 GB, free: 111.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/6.981, allocations: 1.563 MB / 2.382 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.77e-05/6.981, allocations: 2.875 kB / 2.382 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/6.982, allocations: 65.81 kB / 2.382 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/6.982, allocations: 40.89 kB / 2.382 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/6.985, allocations: 1.115 MB / 2.383 GB, free: 110.3 MB / 0.948 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.01796/7.003, allocations: 7.983 MB / 2.391 GB, free: 103.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/7.005, allocations: 460.7 kB / 2.392 GB, free: 103.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/7.005, allocations: 0.7515 MB / 2.392 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/7.005, allocations: 47.11 kB / 2.392 GB, free: 102.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.136e-06/7.005, allocations: 0 / 2.392 GB, free: 102.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.003451/7.009, allocations: 1.007 MB / 2.393 GB, free: 101.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/7.009, allocations: 59.97 kB / 2.393 GB, free: 101.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005142/7.014, allocations: 2.038 MB / 2.395 GB, free: 99.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003831/7.014, allocations: 49.7 kB / 2.395 GB, free: 99.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/7.016, allocations: 1.147 MB / 2.397 GB, free: 97.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/7.016, allocations: 212.9 kB / 2.397 GB, free: 97.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/7.016, allocations: 20 kB / 2.397 GB, free: 97.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000106/7.017, allocations: 353.9 kB / 2.397 GB, free: 97.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/7.018, allocations: 337.5 kB / 2.397 GB, free: 97.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/7.019, allocations: 0.8072 MB / 2.398 GB, free: 96.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/7.022, allocations: 475.5 kB / 2.399 GB, free: 95.61 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/7.022, allocations: 0 / 2.399 GB, free: 95.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004186/7.026, allocations: 1.256 MB / 2.4 GB, free: 94.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007265/7.027, allocations: 3.208 MB / 2.403 GB, free: 90.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/7.027, allocations: 7.656 kB / 2.403 GB, free: 90.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.163e-05/7.027, allocations: 17.62 kB / 2.403 GB, free: 90.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/7.029, allocations: 261.1 kB / 2.403 GB, free: 90.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-05/7.029, allocations: 19.94 kB / 2.403 GB, free: 90.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/7.033, allocations: 269.2 kB / 2.404 GB, free: 90.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000524/7.033, allocations: 58.53 kB / 2.404 GB, free: 90.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/7.033, allocations: 4 kB / 2.404 GB, free: 90.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005395/7.039, allocations: 1.007 MB / 2.405 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/7.039, allocations: 8 kB / 2.405 GB, free: 89.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-05/7.039, allocations: 16 kB / 2.405 GB, free: 89.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/7.042, allocations: 259.9 kB / 2.405 GB, free: 89.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.984e-05/7.042, allocations: 16 kB / 2.405 GB, free: 89.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005513/7.048, allocations: 246.2 kB / 2.405 GB, free: 88.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004348/7.048, allocations: 47.98 kB / 2.405 GB, free: 88.73 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (138): * Single equations (assignments): 138 * 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.002518/7.051, allocations: 0.5809 MB / 2.406 GB, free: 88.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/7.052, allocations: 235.7 kB / 2.406 GB, free: 87.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/7.057, allocations: 0.9227 MB / 2.407 GB, free: 86.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/7.057, allocations: 8 kB / 2.407 GB, free: 86.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/7.057, allocations: 0 / 2.407 GB, free: 86.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002664/7.059, allocations: 0.7289 MB / 2.408 GB, free: 86.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/7.071, allocations: 2.655 MB / 2.41 GB, free: 83.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/7.071, allocations: 4 kB / 2.41 GB, free: 83.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/7.073, allocations: 147.1 kB / 2.41 GB, free: 83.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-05/7.073, allocations: 4 kB / 2.41 GB, free: 83.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/7.073, allocations: 23.98 kB / 2.41 GB, free: 83.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/7.073, allocations: 4 kB / 2.41 GB, free: 83.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/7.073, allocations: 0 / 2.41 GB, free: 83.33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005191/7.078, allocations: 1.399 MB / 2.412 GB, free: 81.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/7.081, allocations: 461.8 kB / 2.412 GB, free: 81.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/7.082, allocations: 12 kB / 2.412 GB, free: 81.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004833/7.087, allocations: 175.5 kB / 2.412 GB, free: 81.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/7.087, allocations: 40.5 kB / 2.412 GB, free: 81.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/7.087, allocations: 35.97 kB / 2.412 GB, free: 81.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00648/7.094, allocations: 1.553 MB / 2.414 GB, free: 79.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.323e-06/7.094, allocations: 0 / 2.414 GB, free: 79.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008606/7.102, allocations: 1.205 MB / 2.415 GB, free: 78.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01026/7.113, allocations: 3.307 MB / 2.418 GB, free: 75.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006407/7.119, allocations: 1.365 MB / 2.42 GB, free: 73.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/7.119, allocations: 0 / 2.42 GB, free: 73.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/7.121, allocations: 336.4 kB / 2.42 GB, free: 73.63 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02047/7.141, allocations: 1.509 MB / 2.422 GB, free: 72.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/7.162, allocations: 10.82 MB / 2.432 GB, free: 61.05 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/7.163, allocations: 1.629 MB / 2.434 GB, free: 59.39 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00365/7.167, allocations: 0.4906 MB / 2.434 GB, free: 58.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/7.169, allocations: 0.9483 MB / 2.435 GB, free: 57.98 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/7.169, allocations: 0 / 2.435 GB, free: 57.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2133/7.383, allocations: 73.6 MB / 2.507 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/7.383, allocations: 228.1 kB / 2.507 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.827/13.21, allocations: 0 / 2.507 GB, free: 1.102 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)