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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5205/0.5205, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 109.4 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 60.08 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3339, allocations: 70.06 MB / 0.5575 GB, free: 44.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02114/0.3551, allocations: 30.58 MB / 0.5874 GB, free: 14.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3667, allocations: 10.85 MB / 0.598 GB, free: 3.641 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.3682, allocations: 23.81 kB / 0.598 GB, free: 3.617 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.3695, allocations: 310.1 kB / 0.5983 GB, free: 3.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.3731, allocations: 1.058 MB / 0.5993 GB, free: 2.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.3755, allocations: 0.767 MB / 0.6001 GB, free: 1.492 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.3788, allocations: 2.841 MB / 0.6028 GB, free: 14.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.3799, allocations: 0.575 MB / 0.6034 GB, free: 14.05 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.3822, allocations: 0.9101 MB / 0.6043 GB, free: 13.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.3837, allocations: 0.6884 MB / 0.605 GB, free: 12.45 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.3839, allocations: 36 kB / 0.605 GB, free: 12.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.3853, allocations: 0.5809 MB / 0.6056 GB, free: 11.83 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.3856, allocations: 147.3 kB / 0.6057 GB, free: 11.69 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000803/0.3864, allocations: 417.6 kB / 0.6061 GB, free: 11.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.388, allocations: 1.061 MB / 0.6071 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.388, allocations: 4 kB / 0.6071 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3881, allocations: 7.938 kB / 0.6071 GB, free: 10.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.595e-05/0.3881, allocations: 0 / 0.6071 GB, free: 10.2 MB / 426.7 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.001924/0.39, allocations: 1.164 MB / 0.6083 GB, free: 8.988 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3901, allocations: 8.031 kB / 0.6083 GB, free: 8.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.3902, allocations: 99.75 kB / 0.6084 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007502/0.391, allocations: 0.5579 MB / 0.6089 GB, free: 8.285 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.391, allocations: 37 kB / 0.609 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.3911, allocations: 60 kB / 0.609 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.3918, allocations: 406.4 kB / 0.6094 GB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3918, allocations: 0 / 0.6094 GB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.3918, allocations: 24 kB / 0.6094 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3919, allocations: 12 kB / 0.6094 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.3924, allocations: 295.8 kB / 0.6097 GB, free: 7.465 MB / 426.7 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.002499/0.3949, allocations: 1.865 MB / 0.6115 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3953, allocations: 158.5 kB / 0.6117 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.3955, allocations: 84.8 kB / 0.6118 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.3957, allocations: 332.4 kB / 0.6121 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3958, allocations: 38.56 kB / 0.6121 GB, free: 4.754 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.492e-06/0.3958, allocations: 0 / 0.6121 GB, free: 4.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006893/0.3965, allocations: 307 kB / 0.6124 GB, free: 4.449 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.3965, allocations: 55.41 kB / 0.6125 GB, free: 4.383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/0.3972, allocations: 0.6804 MB / 0.6131 GB, free: 3.691 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.3973, allocations: 33.7 kB / 0.6132 GB, free: 3.652 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.3975, allocations: 376.7 kB / 0.6135 GB, free: 3.281 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.3976, allocations: 59.11 kB / 0.6136 GB, free: 3.223 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3977, allocations: 93.95 kB / 0.6137 GB, free: 3.125 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3978, allocations: 378.7 kB / 0.614 GB, free: 2.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.3981, allocations: 110.4 kB / 0.6141 GB, free: 2.637 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.3984, allocations: 187.4 kB / 0.6143 GB, free: 2.434 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.3988, allocations: 236.9 kB / 0.6145 GB, free: 2.195 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3988, allocations: 0 / 0.6145 GB, free: 2.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006948/0.3995, allocations: 401.9 kB / 0.6149 GB, free: 1.797 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3996, allocations: 8 kB / 0.6149 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3996, allocations: 4 kB / 0.6149 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3996, allocations: 3.984 kB / 0.6149 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009807/0.4006, allocations: 155.8 kB / 0.6151 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.4018, allocations: 2.368 MB / 0.6174 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.4023, allocations: 79.59 kB / 0.6175 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.4024, allocations: 23.92 kB / 0.6175 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003709/0.4028, allocations: 247.9 kB / 0.6177 GB, free: 14.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002749/0.403, allocations: 187.5 kB / 0.6179 GB, free: 14.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004262/0.4035, allocations: 219.7 kB / 0.6181 GB, free: 14.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.4035, allocations: 0 / 0.6181 GB, free: 14.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006615/0.4042, allocations: 380.7 kB / 0.6185 GB, free: 14.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4042, allocations: 8 kB / 0.6185 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.4042, allocations: 0 / 0.6185 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/0.4042, allocations: 4.031 kB / 0.6185 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.4046, allocations: 103.8 kB / 0.6186 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4046, allocations: 7.984 kB / 0.6186 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.4052, allocations: 71.77 kB / 0.6187 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.4052, allocations: 8 kB / 0.6187 GB, free: 13.81 MB / 442.7 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.0001544/0.4054, allocations: 203.4 kB / 0.6189 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4055, allocations: 67.16 kB / 0.6189 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000657/0.4061, allocations: 311.8 kB / 0.6192 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4062, allocations: 4 kB / 0.6192 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4062, allocations: 0 / 0.6192 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4062, allocations: 3.984 kB / 0.6193 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.4075, allocations: 0.8954 MB / 0.6201 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.4075, allocations: 4 kB / 0.6201 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.4079, allocations: 75.89 kB / 0.6202 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4079, allocations: 0 / 0.6202 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.4079, allocations: 12.12 kB / 0.6202 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009906/0.4089, allocations: 2.36 MB / 0.6225 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4089, allocations: 0 / 0.6225 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.41, allocations: 1.152 MB / 0.6236 GB, free: 8.488 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.4103, allocations: 168.2 kB / 0.6238 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.4103, allocations: 0 / 0.6238 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.4107, allocations: 59.81 kB / 0.6239 GB, free: 8.246 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.4108, allocations: 15.98 kB / 0.6239 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.4108, allocations: 11.98 kB / 0.6239 GB, free: 8.219 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005305/0.4114, allocations: 475 kB / 0.6243 GB, free: 7.758 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4114, allocations: 0 / 0.6243 GB, free: 7.758 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001078/0.4125, allocations: 355.1 kB / 0.6247 GB, free: 7.41 MB / 442.7 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.0005354/0.413, allocations: 246.6 kB / 0.6249 GB, free: 7.172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.4146, allocations: 495.7 kB / 0.6254 GB, free: 6.688 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4146, allocations: 0 / 0.6254 GB, free: 6.688 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.415, allocations: 144.1 kB / 0.6255 GB, free: 6.547 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.4171, allocations: 371.5 kB / 0.6259 GB, free: 6.191 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.4192, allocations: 1.542 MB / 0.6274 GB, free: 4.602 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.4196, allocations: 0.9487 MB / 0.6283 GB, free: 3.625 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004738/0.4201, allocations: 113.2 kB / 0.6284 GB, free: 3.512 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.4202, allocations: 51.42 kB / 0.6285 GB, free: 3.461 MB / 442.7 MB Notification: Performance of SimCode: time 8.21e-07/0.4203, allocations: 0 / 0.6285 GB, free: 3.461 MB / 442.7 MB Notification: Performance of Templates: time 0.0248/0.4451, allocations: 12.71 MB / 0.6409 GB, free: 6.934 MB / 458.7 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)