Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5096/0.5096, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 103.2 kB / 427.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1739, allocations: 72.3 MB / 0.5689 GB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.435, allocations: 383.3 MB / 0.9433 GB, free: 83.77 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000417/1.436, allocations: 113 kB / 0.9434 GB, free: 83.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.757/5.193, allocations: 0.997 GB / 1.94 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/5.193, allocations: 0 / 1.94 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002595/5.193, allocations: 83.91 kB / 1.94 GB, free: 28.28 MB / 0.6198 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.006216/5.2, allocations: 3.067 MB / 1.943 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/5.2, allocations: 12.03 kB / 1.943 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003273/5.2, allocations: 219.5 kB / 1.944 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008785/5.201, allocations: 324.2 kB / 1.944 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004728/5.206, allocations: 2.497 MB / 1.946 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/5.206, allocations: 134.9 kB / 1.947 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/5.206, allocations: 176 kB / 1.947 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/5.208, allocations: 1.564 MB / 1.948 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/5.208, allocations: 0 / 1.948 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/5.208, allocations: 67.98 kB / 1.948 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/5.208, allocations: 36 kB / 1.948 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/5.21, allocations: 1.116 MB / 1.949 GB, free: 18.88 MB / 0.6198 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.01135/5.222, allocations: 7.992 MB / 1.957 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/5.223, allocations: 461.9 kB / 1.958 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004784/5.223, allocations: 0.7563 MB / 1.958 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/5.223, allocations: 47.02 kB / 1.958 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.645e-06/5.223, allocations: 4 kB / 1.958 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001879/5.225, allocations: 0.9999 MB / 1.959 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/5.225, allocations: 59.97 kB / 1.959 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/5.227, allocations: 2.088 MB / 1.962 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001673/5.228, allocations: 57.62 kB / 1.962 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007184/5.228, allocations: 1.147 MB / 1.963 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/5.229, allocations: 220.9 kB / 1.963 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/5.229, allocations: 20 kB / 1.963 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/5.229, allocations: 345.9 kB / 1.963 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/5.229, allocations: 342.4 kB / 1.964 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008805/5.23, allocations: 0.8118 MB / 1.964 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/5.231, allocations: 470 kB / 1.965 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/5.231, allocations: 4 kB / 1.965 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002027/5.233, allocations: 1.26 MB / 1.966 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001233/5.234, allocations: 3.215 MB / 1.969 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/5.234, allocations: 8 kB / 1.969 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/5.234, allocations: 16 kB / 1.969 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/5.235, allocations: 259.6 kB / 1.969 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/5.235, allocations: 15.94 kB / 1.969 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/5.238, allocations: 262.2 kB / 1.97 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/5.238, allocations: 51.98 kB / 1.97 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/5.238, allocations: 4 kB / 1.97 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001688/5.239, allocations: 1.015 MB / 1.971 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/5.239, allocations: 8 kB / 1.971 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/5.239, allocations: 12.62 kB / 1.971 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/5.24, allocations: 263.5 kB / 1.971 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-05/5.24, allocations: 15.94 kB / 1.971 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/5.242, allocations: 242.5 kB / 1.971 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.722e-05/5.243, allocations: 51.98 kB / 1.971 GB, free: 11.21 MB / 0.6355 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.001292/5.244, allocations: 0.5827 MB / 1.972 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/5.244, allocations: 244.7 kB / 1.972 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/5.246, allocations: 0.9304 MB / 1.973 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/5.246, allocations: 8 kB / 1.973 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/5.246, allocations: 0 / 1.973 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/5.247, allocations: 0.722 MB / 1.974 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/5.252, allocations: 2.671 MB / 1.976 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/5.252, allocations: 8 kB / 1.976 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/5.252, allocations: 155.7 kB / 1.977 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/5.252, allocations: 7.953 kB / 1.977 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/5.252, allocations: 19.98 kB / 1.977 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/5.252, allocations: 4.094 kB / 1.977 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/5.252, allocations: 4 kB / 1.977 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/5.255, allocations: 1.401 MB / 1.978 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/5.256, allocations: 465.8 kB / 1.978 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/5.256, allocations: 12 kB / 1.978 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/5.257, allocations: 167.6 kB / 1.979 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/5.258, allocations: 44.5 kB / 1.979 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/5.258, allocations: 35.97 kB / 1.979 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002588/5.26, allocations: 1.589 MB / 1.98 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.81e-07/5.26, allocations: 0 / 1.98 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003625/5.264, allocations: 1.216 MB / 1.981 GB, free: 0.7344 MB / 0.6355 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.421/5.685, allocations: 3.292 MB / 1.985 GB, free: 59.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003198/5.688, allocations: 1.368 MB / 1.986 GB, free: 59.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/5.688, allocations: 1.125 kB / 1.986 GB, free: 59.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007594/5.689, allocations: 339.3 kB / 1.986 GB, free: 59.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008136/5.697, allocations: 1.487 MB / 1.988 GB, free: 59.85 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/5.71, allocations: 10.89 MB / 1.998 GB, free: 51.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/5.712, allocations: 1.652 MB / 2 GB, free: 51.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003505/5.715, allocations: 0.5019 MB / 2 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/5.717, allocations: 0.9628 MB / 2.001 GB, free: 51.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.372e-06/5.717, allocations: 0 / 2.001 GB, free: 51.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/5.871, allocations: 73.68 MB / 2.073 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/5.871, allocations: 220.1 kB / 2.074 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.86/10.73, allocations: 0 / 2.074 GB, free: 47.06 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)