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.001103/0.001103, allocations: 102.6 kB / 15.98 MB, free: 6.348 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.001091/0.001091, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.538/1.538, 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.777/0.777, allocations: 122.9 MB / 413.6 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 55.91 kB / 0.4906 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4394, allocations: 77.92 MB / 0.5667 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01697/0.4565, allocations: 17.35 MB / 0.5837 GB, free: 20.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00689/0.4634, allocations: 4.882 MB / 0.5884 GB, free: 16.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007988/0.4642, allocations: 15.84 kB / 0.5884 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008804/0.4652, allocations: 219 kB / 0.5887 GB, free: 16.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.4673, allocations: 0.569 MB / 0.5892 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.4703, allocations: 0.6621 MB / 0.5899 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.4721, allocations: 0.9636 MB / 0.5908 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.4727, allocations: 333.9 kB / 0.5911 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/0.4734, allocations: 424.2 kB / 0.5915 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.4738, allocations: 317.3 kB / 0.5918 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.4739, allocations: 33.56 kB / 0.5919 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.4753, allocations: 0.7357 MB / 0.5926 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.4754, allocations: 129.3 kB / 0.5927 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.4756, allocations: 245.4 kB / 0.5929 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.4769, allocations: 0.8703 MB / 0.5938 GB, free: 13.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4769, allocations: 0 / 0.5938 GB, free: 13.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.4769, allocations: 0 / 0.5938 GB, free: 13.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.4769, allocations: 4.469 kB / 0.5938 GB, free: 13.38 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.001198/0.4782, allocations: 0.8824 MB / 0.5946 GB, free: 12.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4782, allocations: 14.88 kB / 0.5947 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.4785, allocations: 60.91 kB / 0.5947 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.479, allocations: 440.8 kB / 0.5951 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.4791, allocations: 29.09 kB / 0.5952 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.4791, allocations: 29.91 kB / 0.5952 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.4797, allocations: 287.5 kB / 0.5955 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4797, allocations: 3.5 kB / 0.5955 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.4797, allocations: 7.406 kB / 0.5955 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.4797, allocations: 5.781 kB / 0.5955 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.4802, allocations: 191.2 kB / 0.5957 GB, free: 11.9 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.001699/0.4819, allocations: 1.478 MB / 0.5971 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.4822, allocations: 161.6 kB / 0.5973 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.4824, allocations: 83.31 kB / 0.5973 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.4839, allocations: 1.274 MB / 0.5986 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.4839, allocations: 39.94 kB / 0.5986 GB, free: 9.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.465e-06/0.4839, allocations: 3.938 kB / 0.5986 GB, free: 9.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000647/0.4846, allocations: 245.4 kB / 0.5989 GB, free: 8.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.4846, allocations: 60.5 kB / 0.5989 GB, free: 8.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.4853, allocations: 0.5818 MB / 0.5995 GB, free: 8.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.4853, allocations: 31.17 kB / 0.5995 GB, free: 8.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.4855, allocations: 269.3 kB / 0.5998 GB, free: 8.262 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.4855, allocations: 50.92 kB / 0.5998 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4856, allocations: 73.94 kB / 0.5999 GB, free: 8.168 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.4857, allocations: 359.3 kB / 0.6002 GB, free: 7.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.4859, allocations: 81.94 kB / 0.6003 GB, free: 7.777 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.4862, allocations: 212.3 kB / 0.6005 GB, free: 7.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.4866, allocations: 229.5 kB / 0.6007 GB, free: 7.422 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4866, allocations: 1.312 kB / 0.6007 GB, free: 7.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005838/0.4872, allocations: 312.3 kB / 0.601 GB, free: 7.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4872, allocations: 11.94 kB / 0.6011 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4872, allocations: 4 kB / 0.6011 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4872, allocations: 4 kB / 0.6011 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.4875, allocations: 67.89 kB / 0.6011 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4875, allocations: 7.938 kB / 0.6011 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.4879, allocations: 43.8 kB / 0.6012 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.4879, allocations: 19.98 kB / 0.6012 GB, free: 7.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002636/0.4882, allocations: 212.7 kB / 0.6014 GB, free: 6.891 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002152/0.4884, allocations: 214 kB / 0.6016 GB, free: 6.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003106/0.4888, allocations: 231 kB / 0.6018 GB, free: 6.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.4888, allocations: 4 kB / 0.6018 GB, free: 6.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004685/0.4892, allocations: 302.7 kB / 0.6021 GB, free: 6.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.4893, allocations: 8 kB / 0.6021 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4893, allocations: 7.938 kB / 0.6021 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.4893, allocations: 4 kB / 0.6021 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.4895, allocations: 63.91 kB / 0.6022 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4895, allocations: 7.938 kB / 0.6022 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.4899, allocations: 47.97 kB / 0.6022 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.4899, allocations: 23.97 kB / 0.6023 GB, free: 5.91 MB / 446.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 8.886e-05/0.49, allocations: 196.1 kB / 0.6025 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.4901, allocations: 51.38 kB / 0.6025 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.4906, allocations: 257.9 kB / 0.6028 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4906, allocations: 3.938 kB / 0.6028 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4906, allocations: 3.984 kB / 0.6028 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4906, allocations: 3.938 kB / 0.6028 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008658/0.4915, allocations: 0.7317 MB / 0.6035 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4915, allocations: 0 / 0.6035 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.4917, allocations: 35.97 kB / 0.6035 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4917, allocations: 4 kB / 0.6035 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4917, allocations: 0 / 0.6035 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4917, allocations: 4 kB / 0.6035 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4917, allocations: 4.031 kB / 0.6035 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.4921, allocations: 358.3 kB / 0.6039 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.4922, allocations: 148.4 kB / 0.604 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.4923, allocations: 8 kB / 0.604 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.4925, allocations: 15.98 kB / 0.604 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.4926, allocations: 19.92 kB / 0.604 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.4926, allocations: 11.92 kB / 0.6041 GB, free: 3.949 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003629/0.493, allocations: 418.8 kB / 0.6045 GB, free: 3.543 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.493, allocations: 4 kB / 0.6045 GB, free: 3.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000762/0.4937, allocations: 231.6 kB / 0.6047 GB, free: 3.312 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 (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.00119/0.4949, allocations: 0.4914 MB / 0.6052 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006748/0.4956, allocations: 327.5 kB / 0.6055 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4956, allocations: 1 kB / 0.6055 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.4958, allocations: 88.08 kB / 0.6056 GB, free: 2.578 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.497, allocations: 251.8 kB / 0.6058 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.4982, allocations: 0.9576 MB / 0.6067 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.4985, allocations: 0.8389 MB / 0.6076 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003421/0.4988, allocations: 103.5 kB / 0.6077 GB, free: 384 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.4989, allocations: 43.42 kB / 0.6077 GB, free: 340 kB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4989, allocations: 0 / 0.6077 GB, free: 340 kB / 446.1 MB Notification: Performance of Templates: time 0.01904/0.518, allocations: 10.09 MB / 0.6176 GB, free: 6.395 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)