Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 98.81 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 179.7 kB / 16.92 MB, free: 6.922 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.45/1.45, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7252/0.7252, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 12 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 77.53 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01871/0.1681, allocations: 16.82 MB / 0.5764 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007154/0.1753, allocations: 4.871 MB / 0.5811 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006465/0.176, allocations: 15.88 kB / 0.5812 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009213/0.177, allocations: 214.9 kB / 0.5814 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.1786, allocations: 0.5482 MB / 0.5819 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.1807, allocations: 0.6519 MB / 0.5825 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.1826, allocations: 1.274 MB / 0.5838 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004618/0.183, allocations: 280.5 kB / 0.5841 GB, free: 280 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2916/0.4747, allocations: 361.8 kB / 0.5844 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009621/0.4757, allocations: 311 kB / 0.5847 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/0.4758, allocations: 16.84 kB / 0.5847 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.4776, allocations: 0.6895 MB / 0.5854 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.4779, allocations: 122.4 kB / 0.5855 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.4783, allocations: 253.3 kB / 0.5857 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.48, allocations: 0.8512 MB / 0.5866 GB, free: 11.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4801, allocations: 0 / 0.5866 GB, free: 11.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4801, allocations: 0 / 0.5866 GB, free: 11.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4801, allocations: 1.75 kB / 0.5866 GB, free: 11.19 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001443/0.4815, allocations: 0.7875 MB / 0.5873 GB, free: 26.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.4816, allocations: 13.91 kB / 0.5874 GB, free: 26.63 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.4819, allocations: 57.45 kB / 0.5874 GB, free: 26.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.4826, allocations: 451.7 kB / 0.5878 GB, free: 26.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4826, allocations: 24.69 kB / 0.5879 GB, free: 26.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.4827, allocations: 36.47 kB / 0.5879 GB, free: 26.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.4833, allocations: 284.2 kB / 0.5882 GB, free: 26.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4833, allocations: 5.875 kB / 0.5882 GB, free: 26.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.4833, allocations: 12.88 kB / 0.5882 GB, free: 26.26 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4834, allocations: 6.891 kB / 0.5882 GB, free: 26.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.4839, allocations: 196.7 kB / 0.5884 GB, free: 26.25 MB / 462.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.002094/0.486, allocations: 1.48 MB / 0.5898 GB, free: 25.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.4863, allocations: 171.3 kB / 0.59 GB, free: 25.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.4865, allocations: 83.95 kB / 0.5901 GB, free: 25.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.488, allocations: 1.294 MB / 0.5913 GB, free: 24.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.488, allocations: 33.52 kB / 0.5914 GB, free: 24.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.488, allocations: 0 / 0.5914 GB, free: 24.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.000693/0.4887, allocations: 274.9 kB / 0.5916 GB, free: 24.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.4888, allocations: 53.62 kB / 0.5917 GB, free: 24.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.4896, allocations: 0.5856 MB / 0.5923 GB, free: 23.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.4896, allocations: 31.45 kB / 0.5923 GB, free: 23.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.4898, allocations: 267.3 kB / 0.5925 GB, free: 23.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.4898, allocations: 51.38 kB / 0.5926 GB, free: 23.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.4899, allocations: 36.22 kB / 0.5926 GB, free: 23.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4901, allocations: 360.6 kB / 0.593 GB, free: 23.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.4903, allocations: 75.19 kB / 0.593 GB, free: 23.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.4906, allocations: 212.7 kB / 0.5932 GB, free: 23.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.491, allocations: 253.2 kB / 0.5935 GB, free: 23.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.491, allocations: 1.375 kB / 0.5935 GB, free: 23.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006065/0.4916, allocations: 318.5 kB / 0.5938 GB, free: 23.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/0.4917, allocations: 163.6 kB / 0.5939 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.4917, allocations: 3.781 kB / 0.5939 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4917, allocations: 7.531 kB / 0.594 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.492, allocations: 72.77 kB / 0.594 GB, free: 22.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.492, allocations: 4.266 kB / 0.594 GB, free: 22.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.4924, allocations: 47.88 kB / 0.5941 GB, free: 22.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.4924, allocations: 18.77 kB / 0.5941 GB, free: 22.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.144e-06/0.4925, allocations: 2.906 kB / 0.5941 GB, free: 22.91 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004967/0.493, allocations: 250.7 kB / 0.5943 GB, free: 22.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.493, allocations: 2.344 kB / 0.5943 GB, free: 22.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-06/0.493, allocations: 4.656 kB / 0.5943 GB, free: 22.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.4932, allocations: 71.41 kB / 0.5944 GB, free: 22.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4932, allocations: 4.188 kB / 0.5944 GB, free: 22.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.4935, allocations: 50.81 kB / 0.5945 GB, free: 22.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.4936, allocations: 12.53 kB / 0.5945 GB, free: 22.88 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002178/0.4938, allocations: 260.8 kB / 0.5947 GB, free: 22.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.4939, allocations: 46.47 kB / 0.5948 GB, free: 22.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005715/0.4945, allocations: 275.1 kB / 0.595 GB, free: 22.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.4945, allocations: 0 / 0.595 GB, free: 22.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4945, allocations: 8.188 kB / 0.595 GB, free: 22.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4945, allocations: 0.7031 kB / 0.595 GB, free: 22.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4955, allocations: 0.7462 MB / 0.5958 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4955, allocations: 2.5 kB / 0.5958 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.4957, allocations: 33.98 kB / 0.5958 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4957, allocations: 2.312 kB / 0.5958 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4957, allocations: 6.938 kB / 0.5958 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4957, allocations: 2.234 kB / 0.5958 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4957, allocations: 3.281 kB / 0.5958 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.4962, allocations: 366.8 kB / 0.5962 GB, free: 22.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.4964, allocations: 158.7 kB / 0.5963 GB, free: 21.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.4964, allocations: 3.359 kB / 0.5963 GB, free: 21.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.4967, allocations: 18.22 kB / 0.5963 GB, free: 21.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.4967, allocations: 23.08 kB / 0.5964 GB, free: 21.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.4967, allocations: 6.125 kB / 0.5964 GB, free: 21.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004987/0.4973, allocations: 419.5 kB / 0.5968 GB, free: 21.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4973, allocations: 3.938 kB / 0.5968 GB, free: 21.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008281/0.4981, allocations: 230 kB / 0.597 GB, free: 21.82 MB / 462.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 (17): * Single equations (assignments): 15 * 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.001171/0.4993, allocations: 495.9 kB / 0.5975 GB, free: 21.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.5001, allocations: 335.1 kB / 0.5978 GB, free: 21.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5001, allocations: 0.875 kB / 0.5978 GB, free: 21.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.5004, allocations: 95.19 kB / 0.5979 GB, free: 21.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.5019, allocations: 250.7 kB / 0.5981 GB, free: 21.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.5033, allocations: 0.9843 MB / 0.5991 GB, free: 21.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.5038, allocations: 0.8523 MB / 0.5999 GB, free: 20.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003767/0.5042, allocations: 106.2 kB / 0.6 GB, free: 20.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5043, allocations: 41.09 kB / 0.6 GB, free: 20.32 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5043, allocations: 0 / 0.6 GB, free: 20.32 MB / 462.1 MB Notification: Performance of Templates: time 0.0178/0.5221, allocations: 9.834 MB / 0.6096 GB, free: 18.36 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)