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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 171.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4481/0.4481, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.354/1.354, allocations: 223.2 MB / 348.4 MB, free: 4.922 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.0008167/0.0008168, allocations: 90.05 kB / 420.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004291, allocations: 20 kB / 0.4901 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3467, allocations: 71.01 MB / 0.5595 GB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.363, allocations: 381.5 MB / 0.932 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/1.364, allocations: 110.6 kB / 0.9321 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.01/4.374, allocations: 0.9861 GB / 1.918 GB, free: 49.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.363e-06/4.374, allocations: 2.25 kB / 1.918 GB, free: 49.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003347/4.374, allocations: 79.64 kB / 1.918 GB, free: 49.79 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.00644/4.381, allocations: 3.018 MB / 1.921 GB, free: 48.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/4.381, allocations: 12.73 kB / 1.921 GB, free: 48.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/4.382, allocations: 320 kB / 1.922 GB, free: 48.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/4.386, allocations: 2.464 MB / 1.924 GB, free: 47.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/4.387, allocations: 132.6 kB / 1.924 GB, free: 47.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/4.387, allocations: 179.6 kB / 1.924 GB, free: 47.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/4.389, allocations: 1.571 MB / 1.926 GB, free: 47.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/4.389, allocations: 3.938 kB / 1.926 GB, free: 47.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/4.389, allocations: 61.47 kB / 1.926 GB, free: 47.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/4.39, allocations: 43.56 kB / 1.926 GB, free: 47.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/4.391, allocations: 1.114 MB / 1.927 GB, free: 47.54 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.009092/4.4, allocations: 7.945 MB / 1.935 GB, free: 43.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/4.401, allocations: 471.3 kB / 1.935 GB, free: 43.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/4.402, allocations: 331.6 kB / 1.936 GB, free: 43.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004434/4.402, allocations: 0.7596 MB / 1.936 GB, free: 43.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/4.402, allocations: 39 kB / 1.936 GB, free: 42.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/4.402, allocations: 3.375 kB / 1.936 GB, free: 42.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001718/4.404, allocations: 1.009 MB / 1.937 GB, free: 42.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/4.404, allocations: 58.44 kB / 1.937 GB, free: 42.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/4.407, allocations: 2.274 MB / 1.94 GB, free: 42.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/4.407, allocations: 49.45 kB / 1.94 GB, free: 42.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000728/4.407, allocations: 1.145 MB / 1.941 GB, free: 42.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/4.408, allocations: 216.9 kB / 1.941 GB, free: 42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/4.408, allocations: 22.59 kB / 1.941 GB, free: 42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/4.408, allocations: 349.5 kB / 1.941 GB, free: 41.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/4.408, allocations: 341.1 kB / 1.942 GB, free: 41.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000733/4.409, allocations: 0.8126 MB / 1.942 GB, free: 41.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/4.41, allocations: 0.9471 MB / 1.943 GB, free: 40.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/4.41, allocations: 3.625 kB / 1.943 GB, free: 40.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001866/4.412, allocations: 1.257 MB / 1.945 GB, free: 40.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/4.412, allocations: 330 kB / 1.945 GB, free: 40.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/4.412, allocations: 5.719 kB / 1.945 GB, free: 40.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/4.412, allocations: 13.5 kB / 1.945 GB, free: 40.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/4.413, allocations: 257.4 kB / 1.945 GB, free: 40.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/4.413, allocations: 24.44 kB / 1.945 GB, free: 40.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/4.415, allocations: 271.8 kB / 1.945 GB, free: 40.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/4.415, allocations: 51.02 kB / 1.945 GB, free: 40.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/4.415, allocations: 7.719 kB / 1.946 GB, free: 40.26 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/4.417, allocations: 1.012 MB / 1.946 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/4.417, allocations: 7.844 kB / 1.946 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/4.417, allocations: 13.75 kB / 1.947 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/4.417, allocations: 254.8 kB / 1.947 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/4.417, allocations: 13.28 kB / 1.947 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/4.419, allocations: 240 kB / 1.947 GB, free: 40.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.045e-05/4.419, allocations: 51.73 kB / 1.947 GB, free: 40.18 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 () * 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.001071/4.42, allocations: 0.5834 MB / 1.948 GB, free: 39.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/4.421, allocations: 236.2 kB / 1.948 GB, free: 39.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/4.422, allocations: 0.9303 MB / 1.949 GB, free: 39.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/4.422, allocations: 7.625 kB / 1.949 GB, free: 39.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/4.422, allocations: 0 / 1.949 GB, free: 39.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008889/4.423, allocations: 0.7254 MB / 1.949 GB, free: 39.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/4.427, allocations: 2.648 MB / 1.952 GB, free: 39.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/4.427, allocations: 0 / 1.952 GB, free: 39.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/4.428, allocations: 144.6 kB / 1.952 GB, free: 39.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/4.428, allocations: 5.75 kB / 1.952 GB, free: 39.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/4.428, allocations: 19.8 kB / 1.952 GB, free: 39.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/4.428, allocations: 5.812 kB / 1.952 GB, free: 39.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/4.428, allocations: 3.938 kB / 1.952 GB, free: 39.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/4.429, allocations: 1.339 MB / 1.954 GB, free: 38.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007912/4.43, allocations: 455.4 kB / 1.954 GB, free: 38.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/4.431, allocations: 12.34 kB / 1.954 GB, free: 38.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/4.432, allocations: 173.1 kB / 1.954 GB, free: 38.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/4.432, allocations: 44.36 kB / 1.954 GB, free: 38.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/4.432, allocations: 38.45 kB / 1.954 GB, free: 38.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002059/4.434, allocations: 1.516 MB / 1.956 GB, free: 38.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/4.434, allocations: 0.75 kB / 1.956 GB, free: 38.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0034/4.438, allocations: 1.188 MB / 1.957 GB, free: 38.35 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 () * 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.002215/4.44, allocations: 1.24 MB / 1.958 GB, free: 38.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002224/4.442, allocations: 1.364 MB / 1.959 GB, free: 38.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/4.442, allocations: 2.344 kB / 1.959 GB, free: 38.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004582/4.443, allocations: 340 kB / 1.96 GB, free: 38.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006677/4.449, allocations: 1.487 MB / 1.961 GB, free: 38.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/4.455, allocations: 4.421 MB / 1.966 GB, free: 36.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008528/4.456, allocations: 1.585 MB / 1.967 GB, free: 35.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001993/4.458, allocations: 0.4909 MB / 1.968 GB, free: 35.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/4.458, allocations: 179.6 kB / 1.968 GB, free: 35.28 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/4.458, allocations: 0 / 1.968 GB, free: 35.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.06724/4.525, allocations: 51.54 MB / 2.018 GB, free: 31.85 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)