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: 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.001445/0.001445, allocations: 179.8 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.5003/0.5003, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.347/1.347, allocations: 221.3 MB / 348.3 MB, free: 472 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.000952/0.0009516, allocations: 99.53 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.982e-05, allocations: 0 / 0.4896 GB, free: 5.371 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4305, allocations: 72.3 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.488, allocations: 383.3 MB / 0.9345 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.488, allocations: 103 kB / 0.9346 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.505/4.993, allocations: 0.9942 GB / 1.929 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/4.993, allocations: 0 / 1.929 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002789/4.994, allocations: 87.7 kB / 1.929 GB, free: 54.66 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.005643/4.999, allocations: 2.57 MB / 1.931 GB, free: 53.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/4.999, allocations: 10.55 kB / 1.931 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/5.001, allocations: 326 kB / 1.932 GB, free: 53.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005607/5.006, allocations: 2.458 MB / 1.934 GB, free: 52.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/5.006, allocations: 133.4 kB / 1.934 GB, free: 52.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/5.007, allocations: 182.1 kB / 1.934 GB, free: 52.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/5.009, allocations: 1.517 MB / 1.936 GB, free: 52.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/5.009, allocations: 3.953 kB / 1.936 GB, free: 52.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/5.009, allocations: 59.62 kB / 1.936 GB, free: 52.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/5.01, allocations: 44 kB / 1.936 GB, free: 52.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/5.011, allocations: 1.05 MB / 1.937 GB, free: 52.74 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.01108/5.022, allocations: 8 MB / 1.945 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/5.023, allocations: 436.1 kB / 1.945 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/5.023, allocations: 319.5 kB / 1.946 GB, free: 49.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004996/5.024, allocations: 0.756 MB / 1.946 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/5.024, allocations: 38.28 kB / 1.946 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 3.106e-06/5.024, allocations: 0 / 1.946 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.00164/5.025, allocations: 0.7508 MB / 1.947 GB, free: 48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/5.026, allocations: 59.69 kB / 1.947 GB, free: 47.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/5.028, allocations: 2.063 MB / 1.949 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/5.028, allocations: 46.83 kB / 1.949 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007908/5.029, allocations: 1.153 MB / 1.95 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/5.029, allocations: 216.4 kB / 1.95 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/5.029, allocations: 23.38 kB / 1.951 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/5.03, allocations: 350.2 kB / 1.951 GB, free: 46.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/5.03, allocations: 314.9 kB / 1.951 GB, free: 46.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007153/5.031, allocations: 0.7782 MB / 1.952 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/5.031, allocations: 457.3 kB / 1.952 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/5.031, allocations: 4.75 kB / 1.952 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002016/5.033, allocations: 1.197 MB / 1.954 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006661/5.034, allocations: 3.209 MB / 1.957 GB, free: 42.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/5.034, allocations: 8.312 kB / 1.957 GB, free: 42.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/5.034, allocations: 21.73 kB / 1.957 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009828/5.035, allocations: 256 kB / 1.957 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/5.035, allocations: 17.31 kB / 1.957 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/5.037, allocations: 275.9 kB / 1.957 GB, free: 42.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/5.038, allocations: 54.12 kB / 1.957 GB, free: 42.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/5.038, allocations: 4.969 kB / 1.957 GB, free: 42.71 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/5.039, allocations: 0.9526 MB / 1.958 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/5.039, allocations: 9.453 kB / 1.958 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/5.039, allocations: 14.19 kB / 1.958 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/5.04, allocations: 259.3 kB / 1.958 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/5.04, allocations: 17.06 kB / 1.958 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/5.042, allocations: 242.8 kB / 1.959 GB, free: 42.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/5.042, allocations: 50.81 kB / 1.959 GB, free: 42.63 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.0003033/5.042, allocations: 174.4 kB / 1.959 GB, free: 42.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/5.043, allocations: 240.2 kB / 1.959 GB, free: 42.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/5.045, allocations: 0.8926 MB / 1.96 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/5.045, allocations: 10.72 kB / 1.96 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/5.045, allocations: 0 / 1.96 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008099/5.045, allocations: 0.681 MB / 1.961 GB, free: 42.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004359/5.05, allocations: 2.638 MB / 1.963 GB, free: 41.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/5.05, allocations: 3.062 kB / 1.963 GB, free: 41.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/5.05, allocations: 148.3 kB / 1.963 GB, free: 41.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/5.05, allocations: 3.688 kB / 1.963 GB, free: 41.72 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/5.05, allocations: 20.16 kB / 1.963 GB, free: 41.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/5.051, allocations: 7.672 kB / 1.963 GB, free: 41.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/5.051, allocations: 5.594 kB / 1.963 GB, free: 41.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/5.052, allocations: 1.345 MB / 1.965 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009506/5.053, allocations: 464.8 kB / 1.965 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/5.053, allocations: 16.62 kB / 1.965 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/5.055, allocations: 162.1 kB / 1.965 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/5.055, allocations: 38.34 kB / 1.965 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/5.055, allocations: 40.42 kB / 1.965 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001978/5.057, allocations: 1.56 MB / 1.967 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/5.057, allocations: 0 / 1.967 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00312/5.06, allocations: 1.219 MB / 1.968 GB, free: 40.76 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.002141/5.062, allocations: 1.242 MB / 1.969 GB, free: 40.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002089/5.064, allocations: 1.383 MB / 1.971 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/5.064, allocations: 3.25 kB / 1.971 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/5.064, allocations: 312.6 kB / 1.971 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007743/5.072, allocations: 1.496 MB / 1.972 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/5.078, allocations: 2.877 MB / 1.975 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000947/5.079, allocations: 1.649 MB / 1.977 GB, free: 38.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00336/5.082, allocations: 0.7196 MB / 1.978 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/5.083, allocations: 139.8 kB / 1.978 GB, free: 38.83 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/5.083, allocations: 0 / 1.978 GB, free: 38.83 MB / 0.6355 GB Notification: Performance of Templates: time 0.08485/5.168, allocations: 56.94 MB / 2.033 GB, free: 35.32 MB / 0.6355 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)