Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 252 MB / 267.3 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 176.8 kB / 327 MB, free: 2.062 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 0.578 GB, free: 20.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 92.39 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 8.562 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.233, allocations: 106.3 MB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09795/0.331, allocations: 110.7 MB / 1.009 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04074/0.3718, allocations: 24.2 MB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006776/0.3786, allocations: 111.1 kB / 1.033 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004918/0.3836, allocations: 1.049 MB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.3973, allocations: 3.345 MB / 1.037 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009225/0.4066, allocations: 2.772 MB / 1.04 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01333/0.4199, allocations: 9.402 MB / 1.049 GB, free: 7.707 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/0.4241, allocations: 2.051 MB / 1.051 GB, free: 5.605 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006769/0.4309, allocations: 2.325 MB / 1.053 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004864/0.4358, allocations: 2.018 MB / 1.055 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008265/0.4367, allocations: 88 kB / 1.055 GB, free: 1.156 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5387/0.9753, allocations: 1.43 MB / 1.057 GB, free: 38.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.9769, allocations: 0.5011 MB / 1.057 GB, free: 38.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002909/0.9798, allocations: 1.312 MB / 1.058 GB, free: 38.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0087/0.9885, allocations: 4.067 MB / 1.062 GB, free: 38.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.9886, allocations: 0 / 1.062 GB, free: 38.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.687e-06/0.9886, allocations: 3.281 kB / 1.062 GB, free: 38.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001525/0.9887, allocations: 2.625 kB / 1.062 GB, free: 38.85 MB / 0.698 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.006587/0.9953, allocations: 2.654 MB / 1.065 GB, free: 37.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.9954, allocations: 8.344 kB / 1.065 GB, free: 37.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007024/0.9961, allocations: 218.7 kB / 1.065 GB, free: 37.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.9972, allocations: 320.2 kB / 1.066 GB, free: 37.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/1.001, allocations: 2.109 MB / 1.068 GB, free: 36.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/1.002, allocations: 123.7 kB / 1.068 GB, free: 36.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/1.002, allocations: 165.4 kB / 1.068 GB, free: 36.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/1.006, allocations: 1.606 MB / 1.069 GB, free: 36.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/1.006, allocations: 4.969 kB / 1.069 GB, free: 36.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/1.006, allocations: 64.84 kB / 1.069 GB, free: 36.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-05/1.006, allocations: 41.91 kB / 1.07 GB, free: 36.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/1.009, allocations: 1.152 MB / 1.071 GB, free: 36.63 MB / 0.698 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.01529/1.024, allocations: 7.853 MB / 1.078 GB, free: 32.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009198/1.025, allocations: 489.7 kB / 1.079 GB, free: 32.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/1.026, allocations: 323.5 kB / 1.079 GB, free: 32.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/1.026, allocations: 0.7525 MB / 1.08 GB, free: 32.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/1.026, allocations: 46.09 kB / 1.08 GB, free: 32.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 4.98e-06/1.026, allocations: 0 / 1.08 GB, free: 32.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002961/1.029, allocations: 0.9977 MB / 1.081 GB, free: 31.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.029, allocations: 58 kB / 1.081 GB, free: 31.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006288/1.036, allocations: 2.264 MB / 1.083 GB, free: 31.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003887/1.036, allocations: 48.45 kB / 1.083 GB, free: 31.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001503/1.038, allocations: 1.142 MB / 1.084 GB, free: 31.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/1.038, allocations: 214.9 kB / 1.084 GB, free: 31.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/1.038, allocations: 22.34 kB / 1.084 GB, free: 31.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.038, allocations: 346.7 kB / 1.085 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/1.04, allocations: 359.1 kB / 1.085 GB, free: 30.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/1.041, allocations: 0.7482 MB / 1.086 GB, free: 30.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/1.043, allocations: 0.9841 MB / 1.087 GB, free: 29.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/1.043, allocations: 8.906 kB / 1.087 GB, free: 29.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003765/1.047, allocations: 1.287 MB / 1.088 GB, free: 29.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002408/1.047, allocations: 354.9 kB / 1.088 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/1.047, allocations: 7.875 kB / 1.088 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.312e-05/1.047, allocations: 15.69 kB / 1.088 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.048, allocations: 256 kB / 1.089 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.818e-05/1.048, allocations: 21.23 kB / 1.089 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/1.051, allocations: 252.8 kB / 1.089 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.051, allocations: 54.61 kB / 1.089 GB, free: 29.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/1.051, allocations: 3.438 kB / 1.089 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002107/1.054, allocations: 1.025 MB / 1.09 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/1.054, allocations: 9.719 kB / 1.09 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.054, allocations: 13.66 kB / 1.09 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009576/1.055, allocations: 248.8 kB / 1.09 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.578e-05/1.055, allocations: 27.8 kB / 1.09 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/1.057, allocations: 231 kB / 1.091 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/1.057, allocations: 46.08 kB / 1.091 GB, free: 29.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001522/1.059, allocations: 0.5737 MB / 1.091 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008767/1.06, allocations: 230 kB / 1.091 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/1.062, allocations: 0.885 MB / 1.092 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/1.062, allocations: 10.56 kB / 1.092 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.062, allocations: 0 / 1.092 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/1.063, allocations: 0.6908 MB / 1.093 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006113/1.069, allocations: 2.542 MB / 1.095 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.069, allocations: 4 kB / 1.095 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/1.07, allocations: 131.2 kB / 1.096 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/1.07, allocations: 4.234 kB / 1.096 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/1.07, allocations: 16.94 kB / 1.096 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/1.07, allocations: 2.781 kB / 1.096 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.07, allocations: 4.094 kB / 1.096 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/1.073, allocations: 1.317 MB / 1.097 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.074, allocations: 445.8 kB / 1.097 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007389/1.075, allocations: 10.25 kB / 1.097 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.077, allocations: 114.9 kB / 1.097 GB, free: 27.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.077, allocations: 44.12 kB / 1.097 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-05/1.077, allocations: 32.81 kB / 1.097 GB, free: 27.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003837/1.081, allocations: 1.513 MB / 1.099 GB, free: 27.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.081, allocations: 0 / 1.099 GB, free: 27.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005479/1.086, allocations: 1.087 MB / 1.1 GB, free: 27.43 MB / 0.698 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005284/1.092, allocations: 2.507 MB / 1.102 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004035/1.096, allocations: 1.363 MB / 1.104 GB, free: 26.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.096, allocations: 1.062 kB / 1.104 GB, free: 26.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009059/1.097, allocations: 332.9 kB / 1.104 GB, free: 26.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01237/1.109, allocations: 1.4 MB / 1.105 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04549/1.155, allocations: 17.91 MB / 1.123 GB, free: 17.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/1.156, allocations: 1.581 MB / 1.125 GB, free: 17.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003188/1.16, allocations: 494.3 kB / 1.125 GB, free: 17.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/1.162, allocations: 0.9457 MB / 1.126 GB, free: 17.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.903e-06/1.162, allocations: 2.625 kB / 1.126 GB, free: 17.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/1.279, allocations: 63.51 MB / 1.188 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.279, allocations: 267.5 kB / 1.188 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.768/6.047, allocations: 4 kB / 1.188 GB, free: 9.262 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)