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.001627/0.001627, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5056/0.5056, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 87.94 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.921e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.157, allocations: 382.6 MB / 0.9273 GB, free: 97.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.158, allocations: 102.2 kB / 0.9274 GB, free: 97.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.233/4.391, allocations: 0.9888 GB / 1.916 GB, free: 41.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.382e-06/4.391, allocations: 4 kB / 1.916 GB, free: 41.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002704/4.391, allocations: 83.84 kB / 1.916 GB, free: 41.24 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.005627/4.397, allocations: 2.56 MB / 1.919 GB, free: 38.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/4.397, allocations: 8.031 kB / 1.919 GB, free: 38.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/4.398, allocations: 332.2 kB / 1.919 GB, free: 38.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/4.402, allocations: 2.466 MB / 1.921 GB, free: 35.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/4.403, allocations: 47.94 kB / 1.922 GB, free: 35.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/4.403, allocations: 104 kB / 1.922 GB, free: 35.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001686/4.404, allocations: 0.99 MB / 1.923 GB, free: 34.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/4.406, allocations: 1.301 MB / 1.924 GB, free: 33.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/4.406, allocations: 0 / 1.924 GB, free: 33.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/4.407, allocations: 4 kB / 1.924 GB, free: 33.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/4.407, allocations: 39.94 kB / 1.924 GB, free: 33.21 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.00974/4.416, allocations: 7.652 MB / 1.931 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/4.417, allocations: 444.7 kB / 1.932 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/4.417, allocations: 303 kB / 1.932 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/4.418, allocations: 0.7563 MB / 1.933 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/4.418, allocations: 39.12 kB / 1.933 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 3.095e-06/4.418, allocations: 0 / 1.933 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001653/4.42, allocations: 0.7268 MB / 1.934 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/4.42, allocations: 63.97 kB / 1.934 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/4.422, allocations: 1.711 MB / 1.935 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/4.422, allocations: 29.7 kB / 1.935 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007325/4.423, allocations: 1.16 MB / 1.936 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/4.423, allocations: 208.9 kB / 1.937 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/4.423, allocations: 0 / 1.937 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/4.423, allocations: 349.9 kB / 1.937 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/4.423, allocations: 302.6 kB / 1.937 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/4.424, allocations: 0.7545 MB / 1.938 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007933/4.425, allocations: 454.6 kB / 1.938 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/4.425, allocations: 4 kB / 1.938 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001766/4.427, allocations: 1.126 MB / 1.94 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005844/4.427, allocations: 3.165 MB / 1.943 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/4.427, allocations: 8 kB / 1.943 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/4.427, allocations: 15.95 kB / 1.943 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009531/4.428, allocations: 259.6 kB / 1.943 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/4.428, allocations: 23.86 kB / 1.943 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/4.43, allocations: 186.7 kB / 1.943 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.621e-05/4.43, allocations: 55.97 kB / 1.943 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/4.43, allocations: 4 kB / 1.943 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/4.432, allocations: 0.8542 MB / 1.944 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/4.432, allocations: 4 kB / 1.944 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/4.432, allocations: 19.98 kB / 1.944 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/4.432, allocations: 247.6 kB / 1.944 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/4.433, allocations: 23.92 kB / 1.944 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/4.434, allocations: 167 kB / 1.944 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/4.434, allocations: 47.98 kB / 1.944 GB, free: 10.86 MB / 0.6198 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 () * 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.0002396/4.435, allocations: 148.8 kB / 1.945 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001153/4.436, allocations: 0.6945 MB / 1.945 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/4.436, allocations: 209.3 kB / 1.946 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/4.437, allocations: 0.8251 MB / 1.946 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/4.437, allocations: 8 kB / 1.946 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/4.438, allocations: 0 / 1.946 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000751/4.438, allocations: 0.6501 MB / 1.947 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/4.442, allocations: 2.422 MB / 1.949 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/4.442, allocations: 0 / 1.949 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/4.443, allocations: 155.9 kB / 1.949 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/4.443, allocations: 7.984 kB / 1.949 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/4.443, allocations: 11.89 kB / 1.949 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/4.443, allocations: 4 kB / 1.949 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/4.443, allocations: 0 / 1.949 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/4.444, allocations: 1.274 MB / 1.951 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008637/4.445, allocations: 446 kB / 1.951 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/4.445, allocations: 4 kB / 1.951 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/4.447, allocations: 147.7 kB / 1.951 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/4.447, allocations: 44.5 kB / 1.951 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/4.447, allocations: 31.98 kB / 1.951 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001655/4.448, allocations: 1.262 MB / 1.953 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/4.448, allocations: 3.938 kB / 1.953 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003938/4.452, allocations: 1.212 MB / 1.954 GB, free: 1.129 MB / 0.6198 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 () * 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.004659/4.457, allocations: 3.127 MB / 1.957 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002636/4.46, allocations: 1.298 MB / 1.958 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/4.46, allocations: 0 / 1.958 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00045/4.46, allocations: 307.2 kB / 1.958 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007178/4.467, allocations: 1.264 MB / 1.96 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/4.476, allocations: 3.266 MB / 1.963 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/4.477, allocations: 1.655 MB / 1.964 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003026/4.48, allocations: 0.6389 MB / 1.965 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/4.481, allocations: 0.9015 MB / 1.966 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/4.481, allocations: 0 / 1.966 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.599/5.08, allocations: 63.95 MB / 2.028 GB, free: 62.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/5.081, allocations: 173 kB / 2.029 GB, free: 62.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.48/9.56, allocations: 3.938 kB / 2.029 GB, free: 62.4 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)