Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 90.3 kB / 16.67 MB, free: 6.582 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.001265/0.001265, allocations: 176 kB / 17.58 MB, free: 6.184 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.375/1.375, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7141/0.7141, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003679, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4113, allocations: 77.52 MB / 0.5606 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02623/0.4376, allocations: 29.84 MB / 0.5897 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.4506, allocations: 10.72 MB / 0.6002 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.4522, allocations: 22.94 kB / 0.6002 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.4534, allocations: 320.6 kB / 0.6005 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.4568, allocations: 1.064 MB / 0.6016 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.4593, allocations: 0.7496 MB / 0.6023 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003383/0.4627, allocations: 2.839 MB / 0.6051 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.4637, allocations: 0.5622 MB / 0.6056 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.4658, allocations: 0.8893 MB / 0.6065 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.4671, allocations: 0.6748 MB / 0.6071 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.4672, allocations: 29.97 kB / 0.6072 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.4686, allocations: 0.5686 MB / 0.6077 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.4688, allocations: 146.7 kB / 0.6079 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004798/0.4693, allocations: 426.1 kB / 0.6083 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009205/0.4702, allocations: 0.7703 MB / 0.609 GB, free: 1.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4702, allocations: 0 / 0.609 GB, free: 1.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4702, allocations: 0.9062 kB / 0.609 GB, free: 1.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.4703, allocations: 0 / 0.609 GB, free: 1.641 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00152/0.4718, allocations: 1.016 MB / 0.61 GB, free: 0.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4718, allocations: 12.03 kB / 0.61 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.472, allocations: 103.7 kB / 0.6101 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.4726, allocations: 0.5501 MB / 0.6107 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.4727, allocations: 41 kB / 0.6107 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/0.4728, allocations: 60 kB / 0.6108 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.4736, allocations: 414.4 kB / 0.6112 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4736, allocations: 0 / 0.6112 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.4736, allocations: 20 kB / 0.6112 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.4736, allocations: 12 kB / 0.6112 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/0.4743, allocations: 315.8 kB / 0.6115 GB, free: 15.07 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.002972/0.4773, allocations: 1.873 MB / 0.6133 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.4777, allocations: 174.4 kB / 0.6135 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.4779, allocations: 88.81 kB / 0.6136 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/0.4782, allocations: 336.4 kB / 0.6139 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4782, allocations: 38.56 kB / 0.6139 GB, free: 12.33 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/0.4782, allocations: 0 / 0.6139 GB, free: 12.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007803/0.479, allocations: 318.4 kB / 0.6142 GB, free: 12.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4791, allocations: 55.41 kB / 0.6143 GB, free: 11.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.4798, allocations: 0.6804 MB / 0.6149 GB, free: 11.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.4799, allocations: 37.7 kB / 0.615 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.4801, allocations: 364.6 kB / 0.6153 GB, free: 10.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.4802, allocations: 71.16 kB / 0.6154 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.4803, allocations: 37.7 kB / 0.6154 GB, free: 10.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4804, allocations: 390.6 kB / 0.6158 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.4807, allocations: 108.7 kB / 0.6159 GB, free: 10.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.481, allocations: 195.5 kB / 0.6161 GB, free: 10.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.4815, allocations: 248.9 kB / 0.6163 GB, free: 9.777 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4815, allocations: 0 / 0.6163 GB, free: 9.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007193/0.4822, allocations: 410.2 kB / 0.6167 GB, free: 9.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.856e-05/0.4823, allocations: 108.6 kB / 0.6168 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4823, allocations: 0 / 0.6168 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4823, allocations: 4 kB / 0.6168 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.4834, allocations: 167.8 kB / 0.617 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.4847, allocations: 2.364 MB / 0.6193 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.4853, allocations: 87.56 kB / 0.6194 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.4854, allocations: 15.98 kB / 0.6194 GB, free: 6.527 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.4854, allocations: 4 kB / 0.6194 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005934/0.486, allocations: 300 kB / 0.6197 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.486, allocations: 0 / 0.6197 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-06/0.486, allocations: 4 kB / 0.6197 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.4864, allocations: 99.88 kB / 0.6198 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4865, allocations: 4 kB / 0.6198 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.487, allocations: 83.56 kB / 0.6199 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.487, allocations: 8.188 kB / 0.6199 GB, free: 6.035 MB / 462.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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.4873, allocations: 269.1 kB / 0.6201 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/0.4874, allocations: 75.08 kB / 0.6202 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006799/0.4881, allocations: 332.6 kB / 0.6205 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.4881, allocations: 4 kB / 0.6205 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4881, allocations: 0 / 0.6205 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.4881, allocations: 0 / 0.6205 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.4894, allocations: 0.9072 MB / 0.6214 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.4894, allocations: 4 kB / 0.6214 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.4898, allocations: 76 kB / 0.6215 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4898, allocations: 4 kB / 0.6215 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.4898, allocations: 4 kB / 0.6215 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.4908, allocations: 2.352 MB / 0.6238 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4909, allocations: 7.969 kB / 0.6238 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.4914, allocations: 394.8 kB / 0.6242 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.4917, allocations: 184 kB / 0.6244 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.4917, allocations: 8 kB / 0.6244 GB, free: 1.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.4922, allocations: 51.94 kB / 0.6244 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.4922, allocations: 15.92 kB / 0.6244 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.4922, allocations: 11.94 kB / 0.6244 GB, free: 1.133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005345/0.4928, allocations: 479 kB / 0.6249 GB, free: 0.668 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4928, allocations: 0 / 0.6249 GB, free: 0.668 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009121/0.4937, allocations: 351.1 kB / 0.6252 GB, free: 332 kB / 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004578/0.4942, allocations: 240.2 kB / 0.6255 GB, free: 92 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.4958, allocations: 0.5088 MB / 0.626 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4958, allocations: 0 / 0.626 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004034/0.4962, allocations: 148.1 kB / 0.6261 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.4984, allocations: 373.8 kB / 0.6265 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.5004, allocations: 1.415 MB / 0.6278 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.5008, allocations: 0.9448 MB / 0.6288 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.501, allocations: 47.42 kB / 0.6288 GB, free: 12.61 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.501, allocations: 0 / 0.6288 GB, free: 12.61 MB / 478.1 MB Notification: Performance of Templates: time 0.02504/0.526, allocations: 22 MB / 0.6503 GB, free: 6.738 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)