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.001477/0.001477, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5396/0.5396, allocations: 90.81 MB / 104.5 MB, free: 9.801 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.487/1.487, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 99.14 kB / 421.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.223e-05/5.239e-05, allocations: 4 kB / 0.4897 GB, free: 5.246 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4614, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.696, allocations: 383.3 MB / 0.9346 GB, free: 229.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.696, allocations: 100.4 kB / 0.9347 GB, free: 229.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.965/5.661, allocations: 0.9942 GB / 1.929 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.116e-06/5.661, allocations: 3.812 kB / 1.929 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0006695/5.662, allocations: 82.28 kB / 1.929 GB, free: 53.73 MB / 0.6355 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.009443/5.671, allocations: 2.566 MB / 1.931 GB, free: 52.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/5.671, allocations: 13.36 kB / 1.931 GB, free: 52.69 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008156/5.672, allocations: 218.7 kB / 1.932 GB, free: 52.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/5.675, allocations: 328.7 kB / 1.932 GB, free: 52.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009407/5.684, allocations: 2.466 MB / 1.934 GB, free: 52.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/5.684, allocations: 131.4 kB / 1.934 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006859/5.685, allocations: 172.9 kB / 1.935 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/5.689, allocations: 1.522 MB / 1.936 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/5.689, allocations: 4.562 kB / 1.936 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/5.689, allocations: 58.59 kB / 1.936 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/5.689, allocations: 54.19 kB / 1.936 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/5.691, allocations: 1.052 MB / 1.937 GB, free: 51.81 MB / 0.6355 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.01073/5.702, allocations: 7.99 MB / 1.945 GB, free: 48.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/5.702, allocations: 436.3 kB / 1.946 GB, free: 48.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/5.703, allocations: 317.5 kB / 1.946 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/5.703, allocations: 0.7545 MB / 1.947 GB, free: 47.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/5.704, allocations: 47.67 kB / 1.947 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 2.645e-06/5.704, allocations: 0 / 1.947 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.001409/5.705, allocations: 0.753 MB / 1.947 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/5.705, allocations: 57.84 kB / 1.947 GB, free: 47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/5.708, allocations: 2.062 MB / 1.949 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/5.708, allocations: 48.48 kB / 1.949 GB, free: 46.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/5.709, allocations: 1.155 MB / 1.951 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/5.709, allocations: 215.9 kB / 1.951 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/5.709, allocations: 24.12 kB / 1.951 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000138/5.709, allocations: 342 kB / 1.951 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/5.71, allocations: 318.9 kB / 1.951 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008066/5.711, allocations: 0.7832 MB / 1.952 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/5.711, allocations: 447.4 kB / 1.953 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/5.711, allocations: 3.094 kB / 1.953 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001764/5.713, allocations: 1.205 MB / 1.954 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007645/5.714, allocations: 3.203 MB / 1.957 GB, free: 41.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/5.714, allocations: 14.08 kB / 1.957 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/5.714, allocations: 13.78 kB / 1.957 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/5.715, allocations: 257.9 kB / 1.957 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/5.715, allocations: 24.41 kB / 1.957 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/5.717, allocations: 263.3 kB / 1.957 GB, free: 41.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/5.717, allocations: 63.66 kB / 1.958 GB, free: 41.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/5.717, allocations: 3.875 kB / 1.958 GB, free: 41.78 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001419/5.719, allocations: 0.949 MB / 1.958 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/5.719, allocations: 7.938 kB / 1.958 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/5.719, allocations: 15.84 kB / 1.958 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/5.719, allocations: 258.4 kB / 1.959 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/5.719, allocations: 15.25 kB / 1.959 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/5.721, allocations: 241.1 kB / 1.959 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/5.721, allocations: 56.09 kB / 1.959 GB, free: 41.7 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 () * 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.0002517/5.722, allocations: 177.3 kB / 1.959 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/5.722, allocations: 237.3 kB / 1.959 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/5.723, allocations: 0.8929 MB / 1.96 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/5.723, allocations: 6.094 kB / 1.96 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/5.723, allocations: 0 / 1.96 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007634/5.724, allocations: 0.6797 MB / 1.961 GB, free: 41.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/5.728, allocations: 2.647 MB / 1.964 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/5.728, allocations: 0 / 1.964 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/5.729, allocations: 146.8 kB / 1.964 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/5.729, allocations: 3.531 kB / 1.964 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/5.729, allocations: 22.45 kB / 1.964 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/5.729, allocations: 5.25 kB / 1.964 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/5.729, allocations: 0 / 1.964 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/5.73, allocations: 1.341 MB / 1.965 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007474/5.731, allocations: 475.3 kB / 1.965 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/5.731, allocations: 13.19 kB / 1.966 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/5.733, allocations: 163.2 kB / 1.966 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/5.733, allocations: 46.69 kB / 1.966 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/5.733, allocations: 37.06 kB / 1.966 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001997/5.735, allocations: 1.559 MB / 1.967 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/5.735, allocations: 0 / 1.967 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003411/5.738, allocations: 1.207 MB / 1.968 GB, free: 39.82 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 () * 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.004652/5.743, allocations: 3.231 MB / 1.972 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002571/5.746, allocations: 1.379 MB / 1.973 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/5.746, allocations: 0 / 1.973 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004698/5.746, allocations: 319.1 kB / 1.973 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007799/5.754, allocations: 1.498 MB / 1.975 GB, free: 38.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/5.761, allocations: 3.396 MB / 1.978 GB, free: 37.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/5.763, allocations: 1.653 MB / 1.98 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003387/5.766, allocations: 0.7054 MB / 1.98 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/5.767, allocations: 0.9146 MB / 1.981 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/5.767, allocations: 0 / 1.981 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1548/5.922, allocations: 78.98 MB / 2.058 GB, free: 32.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/5.922, allocations: 199 kB / 2.059 GB, free: 32.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.977/10.9, allocations: 4 kB / 2.059 GB, free: 32 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)