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.001241/0.001241, allocations: 103.7 kB / 15.98 MB, free: 6.344 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.001231/0.001231, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.796/0.796, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002203, allocations: 63.89 kB / 0.4906 GB, free: 7.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4145, allocations: 77.92 MB / 0.5667 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01508/0.4296, allocations: 15.44 MB / 0.5818 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006566/0.4362, allocations: 4.319 MB / 0.586 GB, free: 18.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008429/0.4371, allocations: 14.91 kB / 0.586 GB, free: 18.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000979/0.4381, allocations: 222.5 kB / 0.5863 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.4398, allocations: 0.568 MB / 0.5868 GB, free: 17.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.4417, allocations: 0.648 MB / 0.5874 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.443, allocations: 1.025 MB / 0.5884 GB, free: 16.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.4434, allocations: 327.7 kB / 0.5888 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.4441, allocations: 420.7 kB / 0.5892 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.4445, allocations: 337.9 kB / 0.5895 GB, free: 16.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.4446, allocations: 28.5 kB / 0.5895 GB, free: 16.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.4458, allocations: 0.6295 MB / 0.5901 GB, free: 16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.4459, allocations: 101.2 kB / 0.5902 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.4461, allocations: 231.6 kB / 0.5904 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.4472, allocations: 0.7556 MB / 0.5912 GB, free: 15.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.4472, allocations: 1.531 kB / 0.5912 GB, free: 15.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4472, allocations: 0.5312 kB / 0.5912 GB, free: 15.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.4473, allocations: 0.9375 kB / 0.5912 GB, free: 15.29 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.00108/0.4483, allocations: 0.8326 MB / 0.592 GB, free: 14.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.4484, allocations: 10.06 kB / 0.592 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.4485, allocations: 52.41 kB / 0.592 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.449, allocations: 410.7 kB / 0.5924 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.449, allocations: 24.81 kB / 0.5925 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.4491, allocations: 26.97 kB / 0.5925 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.4496, allocations: 213.8 kB / 0.5927 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4496, allocations: 4.844 kB / 0.5927 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.4496, allocations: 10.53 kB / 0.5927 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4496, allocations: 5.438 kB / 0.5927 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/0.45, allocations: 163.8 kB / 0.5929 GB, free: 13.96 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.001494/0.4515, allocations: 0.9484 MB / 0.5938 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.4518, allocations: 131.8 kB / 0.5939 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4519, allocations: 76.22 kB / 0.594 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.4522, allocations: 340.8 kB / 0.5943 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.4522, allocations: 36.16 kB / 0.5944 GB, free: 12.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.4522, allocations: 0 / 0.5944 GB, free: 12.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006221/0.4528, allocations: 239.5 kB / 0.5946 GB, free: 12.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.4529, allocations: 58.22 kB / 0.5946 GB, free: 12.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.4533, allocations: 469.7 kB / 0.5951 GB, free: 12.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.4534, allocations: 31.89 kB / 0.5951 GB, free: 12.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.4535, allocations: 233.6 kB / 0.5953 GB, free: 11.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4535, allocations: 44.98 kB / 0.5954 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.4536, allocations: 62.12 kB / 0.5954 GB, free: 11.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.4537, allocations: 352.5 kB / 0.5958 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.4539, allocations: 80.94 kB / 0.5959 GB, free: 11.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.4541, allocations: 149.1 kB / 0.596 GB, free: 11.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.4544, allocations: 169.1 kB / 0.5962 GB, free: 11.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4544, allocations: 1.312 kB / 0.5962 GB, free: 11.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004752/0.4549, allocations: 252.3 kB / 0.5964 GB, free: 11.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4549, allocations: 9.422 kB / 0.5964 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4549, allocations: 1.062 kB / 0.5964 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.455, allocations: 2.375 kB / 0.5964 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.4552, allocations: 46.41 kB / 0.5965 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4552, allocations: 6.031 kB / 0.5965 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.4556, allocations: 48.59 kB / 0.5965 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.4556, allocations: 7.5 kB / 0.5965 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002553/0.4559, allocations: 192.4 kB / 0.5967 GB, free: 10.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002124/0.4561, allocations: 162.2 kB / 0.5969 GB, free: 10.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002964/0.4564, allocations: 174.9 kB / 0.597 GB, free: 10.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.4564, allocations: 1.156 kB / 0.597 GB, free: 10.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004585/0.4569, allocations: 248.5 kB / 0.5973 GB, free: 10.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.4569, allocations: 5.469 kB / 0.5973 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.4569, allocations: 1.375 kB / 0.5973 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-06/0.4569, allocations: 2.594 kB / 0.5973 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.4571, allocations: 46.66 kB / 0.5973 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.4572, allocations: 2.594 kB / 0.5973 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.4575, allocations: 46.47 kB / 0.5974 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.4576, allocations: 11.88 kB / 0.5974 GB, free: 10.47 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 7.879e-05/0.4577, allocations: 197.5 kB / 0.5976 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.4577, allocations: 43.09 kB / 0.5976 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.4582, allocations: 251.2 kB / 0.5978 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4583, allocations: 2.188 kB / 0.5978 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4583, allocations: 1.094 kB / 0.5978 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4583, allocations: 3.984 kB / 0.5978 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008467/0.4591, allocations: 0.7013 MB / 0.5985 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4592, allocations: 1.125 kB / 0.5985 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.4593, allocations: 30.05 kB / 0.5986 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4593, allocations: 3.438 kB / 0.5986 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4593, allocations: 5.25 kB / 0.5986 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4593, allocations: 6.906 kB / 0.5986 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4593, allocations: 5.469 kB / 0.5986 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.4597, allocations: 349 kB / 0.5989 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.4598, allocations: 137 kB / 0.599 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.4599, allocations: 6.094 kB / 0.599 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.4602, allocations: 31.16 kB / 0.5991 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.4602, allocations: 15.48 kB / 0.5991 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4602, allocations: 5.094 kB / 0.5991 GB, free: 9.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003298/0.4606, allocations: 337.1 kB / 0.5994 GB, free: 8.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4606, allocations: 0 / 0.5994 GB, free: 8.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007075/0.4613, allocations: 201.5 kB / 0.5996 GB, free: 8.703 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.001066/0.4624, allocations: 492.4 kB / 0.6001 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.463, allocations: 267.7 kB / 0.6003 GB, free: 8.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.463, allocations: 0 / 0.6003 GB, free: 8.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.4632, allocations: 91.11 kB / 0.6004 GB, free: 8.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4642, allocations: 197.8 kB / 0.6006 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.4653, allocations: 0.8381 MB / 0.6014 GB, free: 6.977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.4655, allocations: 0.827 MB / 0.6022 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002897/0.4658, allocations: 91.59 kB / 0.6023 GB, free: 6.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.4659, allocations: 35.42 kB / 0.6024 GB, free: 6.004 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4659, allocations: 0 / 0.6024 GB, free: 6.004 MB / 446.1 MB Notification: Performance of Templates: time 0.01354/0.4794, allocations: 8.385 MB / 0.6105 GB, free: 13.75 MB / 462.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)