Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.0009825/0.0009825, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001388/0.001388, allocations: 172.7 kB / 15.95 MB, free: 208 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.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.856/1.856, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005474/0.0005474, allocations: 13.56 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2917, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1045/0.3964, allocations: 104.6 MB / 0.8895 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.6118/1.008, allocations: 22.76 MB / 0.9118 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007106/1.015, allocations: 106.8 kB / 0.9119 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004965/1.02, allocations: 0.8922 MB / 0.9127 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/1.032, allocations: 2.84 MB / 0.9155 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008186/1.04, allocations: 2.346 MB / 0.9178 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01141/1.051, allocations: 8.039 MB / 0.9256 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003584/1.055, allocations: 1.791 MB / 0.9274 GB, free: 36.26 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006089/1.061, allocations: 2.203 MB / 0.9295 GB, free: 36.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004798/1.066, allocations: 1.905 MB / 0.9314 GB, free: 35.95 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009254/1.067, allocations: 88.53 kB / 0.9315 GB, free: 35.95 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006337/1.073, allocations: 1.139 MB / 0.9326 GB, free: 35.86 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001851/1.075, allocations: 489 kB / 0.9331 GB, free: 35.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002154/1.077, allocations: 0.5604 MB / 0.9336 GB, free: 35.62 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006203/1.083, allocations: 3.236 MB / 0.9368 GB, free: 35.37 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/1.083, allocations: 3.844 kB / 0.9368 GB, free: 35.37 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.67e-06/1.083, allocations: 0.9688 kB / 0.9368 GB, free: 35.37 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001892/1.084, allocations: 2.297 kB / 0.9368 GB, free: 35.37 MB / 0.7169 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.008959/1.093, allocations: 2.676 MB / 0.9394 GB, free: 33.95 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/1.093, allocations: 10.22 kB / 0.9394 GB, free: 33.95 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007489/1.093, allocations: 225.3 kB / 0.9396 GB, free: 33.9 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.095, allocations: 324.4 kB / 0.9399 GB, free: 33.74 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005086/1.1, allocations: 2.022 MB / 0.9419 GB, free: 33.22 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.1, allocations: 126.9 kB / 0.942 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/1.1, allocations: 164.9 kB / 0.9422 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/1.103, allocations: 1.607 MB / 0.9437 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/1.103, allocations: 5.969 kB / 0.9438 GB, free: 33 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/1.104, allocations: 61.66 kB / 0.9438 GB, free: 33 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-05/1.104, allocations: 42.28 kB / 0.9439 GB, free: 33 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/1.106, allocations: 1.144 MB / 0.945 GB, free: 32.98 MB / 0.7169 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.01091/1.117, allocations: 7.88 MB / 0.9527 GB, free: 29.21 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/1.118, allocations: 475.2 kB / 0.9531 GB, free: 29.14 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/1.118, allocations: 331.6 kB / 0.9534 GB, free: 29.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/1.119, allocations: 0.7521 MB / 0.9542 GB, free: 28.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/1.119, allocations: 49.36 kB / 0.9542 GB, free: 28.19 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.805e-06/1.119, allocations: 0 / 0.9542 GB, free: 28.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.00259/1.121, allocations: 0.9925 MB / 0.9552 GB, free: 27.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/1.121, allocations: 57.34 kB / 0.9552 GB, free: 27.87 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/1.124, allocations: 2.24 MB / 0.9574 GB, free: 27.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/1.125, allocations: 53.11 kB / 0.9575 GB, free: 27.24 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008624/1.126, allocations: 1.145 MB / 0.9586 GB, free: 26.79 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/1.126, allocations: 216.6 kB / 0.9588 GB, free: 26.63 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/1.126, allocations: 23.66 kB / 0.9588 GB, free: 26.63 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/1.126, allocations: 343.8 kB / 0.9592 GB, free: 26.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/1.127, allocations: 342 kB / 0.9595 GB, free: 26.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008444/1.127, allocations: 0.7444 MB / 0.9602 GB, free: 25.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/1.128, allocations: 456.4 kB / 0.9606 GB, free: 25.71 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/1.128, allocations: 2.656 kB / 0.9606 GB, free: 25.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002138/1.13, allocations: 1.273 MB / 0.9619 GB, free: 25.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/1.131, allocations: 346.5 kB / 0.9622 GB, free: 24.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.131, allocations: 9.609 kB / 0.9622 GB, free: 24.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/1.131, allocations: 20.56 kB / 0.9622 GB, free: 24.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009231/1.132, allocations: 253.3 kB / 0.9625 GB, free: 24.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/1.132, allocations: 22.55 kB / 0.9625 GB, free: 24.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/1.134, allocations: 251 kB / 0.9628 GB, free: 24.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.134, allocations: 55.95 kB / 0.9628 GB, free: 24.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.134, allocations: 6.719 kB / 0.9628 GB, free: 24.8 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001699/1.136, allocations: 1.023 MB / 0.9638 GB, free: 24.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.136, allocations: 6.406 kB / 0.9638 GB, free: 24.64 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.136, allocations: 17.31 kB / 0.9638 GB, free: 24.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/1.137, allocations: 248.6 kB / 0.9641 GB, free: 24.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/1.137, allocations: 20.8 kB / 0.9641 GB, free: 24.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/1.139, allocations: 230.8 kB / 0.9643 GB, free: 24.47 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.139, allocations: 54.14 kB / 0.9644 GB, free: 24.46 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001615/1.141, allocations: 0.5726 MB / 0.9649 GB, free: 24.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006312/1.141, allocations: 231.7 kB / 0.9651 GB, free: 24.11 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/1.143, allocations: 0.8944 MB / 0.966 GB, free: 23.88 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/1.143, allocations: 5.875 kB / 0.966 GB, free: 23.88 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.143, allocations: 0 / 0.966 GB, free: 23.88 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009009/1.144, allocations: 0.7003 MB / 0.9667 GB, free: 23.62 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/1.149, allocations: 2.552 MB / 0.9692 GB, free: 22.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.149, allocations: 0 / 0.9692 GB, free: 22.69 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/1.149, allocations: 131.2 kB / 0.9693 GB, free: 22.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/1.149, allocations: 3.375 kB / 0.9693 GB, free: 22.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/1.149, allocations: 22.81 kB / 0.9693 GB, free: 22.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/1.149, allocations: 6.797 kB / 0.9694 GB, free: 22.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.149, allocations: 2.969 kB / 0.9694 GB, free: 22.65 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/1.151, allocations: 1.318 MB / 0.9706 GB, free: 22.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.152, allocations: 443.9 kB / 0.9711 GB, free: 21.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/1.153, allocations: 11.91 kB / 0.9711 GB, free: 21.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.154, allocations: 128 kB / 0.9712 GB, free: 21.89 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/1.154, allocations: 43.3 kB / 0.9712 GB, free: 21.87 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/1.154, allocations: 31.5 kB / 0.9713 GB, free: 21.86 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002119/1.156, allocations: 1.499 MB / 0.9727 GB, free: 21.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.41e-07/1.156, allocations: 0 / 0.9727 GB, free: 21.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003224/1.159, allocations: 1.085 MB / 0.9738 GB, free: 21.32 MB / 0.7169 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 (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.00347/1.163, allocations: 2.481 MB / 0.9762 GB, free: 20.19 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002407/1.165, allocations: 1.351 MB / 0.9775 GB, free: 19.96 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.165, allocations: 128 / 0.9775 GB, free: 19.96 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004784/1.166, allocations: 333.8 kB / 0.9779 GB, free: 19.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006344/1.172, allocations: 1.395 MB / 0.9792 GB, free: 19.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/1.197, allocations: 13.52 MB / 0.9924 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009323/1.198, allocations: 1.587 MB / 0.994 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002793/1.201, allocations: 0.4975 MB / 0.9945 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.202, allocations: 0.9477 MB / 0.9954 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of SimCode: time 2.294e-06/1.202, allocations: 0 / 0.9954 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/1.315, allocations: 64.91 MB / 1.059 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.315, allocations: 224.1 kB / 1.059 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.044/5.359, allocations: 3.938 kB / 1.059 GB, free: 7.379 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) Environment - environmentSimulation: