Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008786/0.0008785, allocations: 91.44 kB / 16.67 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 179.1 kB / 17.57 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7097/0.7097, allocations: 115.5 MB / 408.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3648, allocations: 77.53 MB / 0.5606 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01308/0.3779, allocations: 14.94 MB / 0.5752 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005887/0.3838, allocations: 4.298 MB / 0.5794 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006094/0.3845, allocations: 15.06 kB / 0.5794 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.3853, allocations: 218.8 kB / 0.5796 GB, free: 21.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.3867, allocations: 0.5567 MB / 0.5801 GB, free: 21.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.3885, allocations: 0.6312 MB / 0.5808 GB, free: 21.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.3902, allocations: 1.312 MB / 0.582 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004304/0.3906, allocations: 285.6 kB / 0.5823 GB, free: 20.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.3913, allocations: 376.8 kB / 0.5827 GB, free: 20.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.3917, allocations: 314.9 kB / 0.583 GB, free: 20.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.3918, allocations: 15 kB / 0.583 GB, free: 20.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.393, allocations: 0.5992 MB / 0.5836 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3931, allocations: 92.77 kB / 0.5837 GB, free: 20.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.3933, allocations: 239.3 kB / 0.5839 GB, free: 19.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.3941, allocations: 0.5342 MB / 0.5844 GB, free: 19.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3942, allocations: 0 / 0.5844 GB, free: 19.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3942, allocations: 2.219 kB / 0.5844 GB, free: 19.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3942, allocations: 0 / 0.5844 GB, free: 19.72 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001026/0.3952, allocations: 0.7515 MB / 0.5851 GB, free: 19.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3953, allocations: 13.44 kB / 0.5852 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.3953, allocations: 55.41 kB / 0.5852 GB, free: 19.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.3958, allocations: 415 kB / 0.5856 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3959, allocations: 19.5 kB / 0.5856 GB, free: 18.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.3959, allocations: 27.66 kB / 0.5856 GB, free: 18.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.3964, allocations: 224.1 kB / 0.5859 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3964, allocations: 0 / 0.5859 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3964, allocations: 5.219 kB / 0.5859 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3964, allocations: 5.531 kB / 0.5859 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.3968, allocations: 181.2 kB / 0.586 GB, free: 18.61 MB / 446.1 MB 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.001517/0.3983, allocations: 0.9493 MB / 0.587 GB, free: 17.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3987, allocations: 141.3 kB / 0.5871 GB, free: 17.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.3988, allocations: 79.92 kB / 0.5872 GB, free: 17.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.3991, allocations: 336.7 kB / 0.5875 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.3991, allocations: 32.34 kB / 0.5875 GB, free: 17.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.3991, allocations: 0 / 0.5875 GB, free: 17.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006155/0.3997, allocations: 258.1 kB / 0.5878 GB, free: 17.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.3997, allocations: 53.95 kB / 0.5878 GB, free: 17.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.4003, allocations: 476.2 kB / 0.5883 GB, free: 17.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.4003, allocations: 32.39 kB / 0.5883 GB, free: 17.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4004, allocations: 237.6 kB / 0.5885 GB, free: 16.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.4005, allocations: 45.14 kB / 0.5886 GB, free: 16.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.4005, allocations: 27.52 kB / 0.5886 GB, free: 16.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.4006, allocations: 358 kB / 0.589 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.4008, allocations: 73.34 kB / 0.589 GB, free: 16.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.4011, allocations: 157.5 kB / 0.5892 GB, free: 16.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.4015, allocations: 169.4 kB / 0.5893 GB, free: 16.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4015, allocations: 5.469 kB / 0.5893 GB, free: 16.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005125/0.402, allocations: 259 kB / 0.5896 GB, free: 16.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.402, allocations: 116.5 kB / 0.5897 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.4021, allocations: 0 / 0.5897 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4021, allocations: 2.469 kB / 0.5897 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.4023, allocations: 49.23 kB / 0.5898 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4023, allocations: 5.344 kB / 0.5898 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.4027, allocations: 56.62 kB / 0.5898 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.4027, allocations: 13.59 kB / 0.5898 GB, free: 16.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.4027, allocations: 3.781 kB / 0.5898 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004236/0.4032, allocations: 191.1 kB / 0.59 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.4032, allocations: 0 / 0.59 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-06/0.4032, allocations: 6.094 kB / 0.59 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.4034, allocations: 52.41 kB / 0.5901 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.4034, allocations: 2.75 kB / 0.5901 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.4037, allocations: 41.56 kB / 0.5901 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.4038, allocations: 16.83 kB / 0.5901 GB, free: 15.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.4039, allocations: 237.7 kB / 0.5903 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.404, allocations: 44.11 kB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005454/0.4046, allocations: 256.5 kB / 0.5906 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.4046, allocations: 7.422 kB / 0.5906 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4046, allocations: 0 / 0.5906 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4046, allocations: 0.6562 kB / 0.5906 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009509/0.4055, allocations: 0.7142 MB / 0.5913 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4056, allocations: 1.219 kB / 0.5913 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.4057, allocations: 38.47 kB / 0.5914 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4057, allocations: 1.438 kB / 0.5914 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4057, allocations: 8.344 kB / 0.5914 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.4057, allocations: 2.344 kB / 0.5914 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4057, allocations: 5.25 kB / 0.5914 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.4062, allocations: 349 kB / 0.5917 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.4063, allocations: 151.4 kB / 0.5919 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.4064, allocations: 7.281 kB / 0.5919 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.4066, allocations: 26.95 kB / 0.5919 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.4067, allocations: 19.36 kB / 0.5919 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.4067, allocations: 6.172 kB / 0.5919 GB, free: 14.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003605/0.4071, allocations: 333 kB / 0.5922 GB, free: 14.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4071, allocations: 0 / 0.5922 GB, free: 14.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000746/0.4078, allocations: 201.8 kB / 0.5924 GB, free: 14.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.4089, allocations: 483.6 kB / 0.5929 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006864/0.4096, allocations: 280.3 kB / 0.5932 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4097, allocations: 0.9688 kB / 0.5932 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4099, allocations: 93.02 kB / 0.5933 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.4112, allocations: 221.6 kB / 0.5935 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4125, allocations: 0.8949 MB / 0.5943 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.4128, allocations: 0.8295 MB / 0.5952 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.436e-05/0.4129, allocations: 36.52 kB / 0.5952 GB, free: 12.85 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4129, allocations: 1.062 kB / 0.5952 GB, free: 12.85 MB / 446.1 MB Notification: Performance of Templates: time 0.01066/0.4235, allocations: 7.361 MB / 0.6024 GB, free: 8.273 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)