Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007673/0.0007675, allocations: 92.75 kB / 16.67 MB, free: 6.598 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.0008309/0.000831, allocations: 179.7 kB / 17.58 MB, free: 6.18 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.351/1.351, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7051/0.7051, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 16 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4112, allocations: 77.51 MB / 0.5606 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.0264/0.4377, allocations: 28.9 MB / 0.5888 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.4501, allocations: 8.124 MB / 0.5967 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.4521, allocations: 29.06 kB / 0.5968 GB, free: 9.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.4534, allocations: 336.8 kB / 0.5971 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.4583, allocations: 1.239 MB / 0.5983 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.4617, allocations: 1.032 MB / 0.5993 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005653/0.4674, allocations: 4.21 MB / 0.6034 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.4694, allocations: 1.161 MB / 0.6046 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.4729, allocations: 1.492 MB / 0.606 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.476, allocations: 1.591 MB / 0.6076 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005857/0.4767, allocations: 68.53 kB / 0.6076 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.4793, allocations: 0.9367 MB / 0.6085 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.4797, allocations: 346.6 kB / 0.6089 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.4808, allocations: 0.6976 MB / 0.6096 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.4826, allocations: 1.553 MB / 0.6111 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4826, allocations: 3.984 kB / 0.6111 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4826, allocations: 0 / 0.6111 GB, free: 15.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.527e-05/0.4827, allocations: 0 / 0.6111 GB, free: 15.62 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002634/0.4853, allocations: 1.336 MB / 0.6124 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.4854, allocations: 11.97 kB / 0.6124 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.4858, allocations: 151.4 kB / 0.6125 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.4875, allocations: 0.8986 MB / 0.6134 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/0.4876, allocations: 81.31 kB / 0.6135 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.4878, allocations: 116 kB / 0.6136 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.489, allocations: 0.6434 MB / 0.6142 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.489, allocations: 0 / 0.6142 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.4891, allocations: 24 kB / 0.6143 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.4891, allocations: 16 kB / 0.6143 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000955/0.4901, allocations: 484.8 kB / 0.6147 GB, free: 11.73 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.00497/0.4951, allocations: 2.875 MB / 0.6175 GB, free: 8.707 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.4957, allocations: 320.6 kB / 0.6178 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.4961, allocations: 153.3 kB / 0.618 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.4964, allocations: 344.7 kB / 0.6183 GB, free: 7.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4964, allocations: 42.84 kB / 0.6184 GB, free: 7.773 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.545e-06/0.4964, allocations: 0 / 0.6184 GB, free: 7.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001438/0.4979, allocations: 0.5516 MB / 0.6189 GB, free: 7.215 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4979, allocations: 55.41 kB / 0.619 GB, free: 7.148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.4991, allocations: 0.9037 MB / 0.6198 GB, free: 6.227 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.4993, allocations: 53.7 kB / 0.6199 GB, free: 6.168 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.4998, allocations: 0.535 MB / 0.6204 GB, free: 5.625 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.4999, allocations: 110.3 kB / 0.6205 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.5, allocations: 69.61 kB / 0.6206 GB, free: 5.441 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5001, allocations: 338.1 kB / 0.6209 GB, free: 5.105 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.5005, allocations: 185.2 kB / 0.6211 GB, free: 4.926 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.5019, allocations: 1.163 MB / 0.6222 GB, free: 3.398 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008667/0.5028, allocations: 467.4 kB / 0.6227 GB, free: 2.918 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.5028, allocations: 4 kB / 0.6227 GB, free: 2.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001408/0.5042, allocations: 0.6619 MB / 0.6233 GB, free: 2.246 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.5044, allocations: 154.2 kB / 0.6235 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5044, allocations: 4 kB / 0.6235 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5044, allocations: 4 kB / 0.6235 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.5059, allocations: 239.7 kB / 0.6237 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.5076, allocations: 2.965 MB / 0.6266 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003575/0.5112, allocations: 0.7468 MB / 0.6273 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.5113, allocations: 35.92 kB / 0.6274 GB, free: 13.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5113, allocations: 4 kB / 0.6274 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/0.5124, allocations: 0.4972 MB / 0.6278 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.5124, allocations: 4 kB / 0.6278 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.5124, allocations: 4 kB / 0.6278 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.5131, allocations: 159.8 kB / 0.628 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.5131, allocations: 8 kB / 0.628 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/0.5166, allocations: 0.7419 MB / 0.6287 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.5167, allocations: 23.98 kB / 0.6288 GB, free: 12.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006037/0.5173, allocations: 334.7 kB / 0.6291 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.5175, allocations: 94.78 kB / 0.6292 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.5187, allocations: 0.5244 MB / 0.6297 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.5187, allocations: 7.984 kB / 0.6297 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.5187, allocations: 4 kB / 0.6297 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5187, allocations: 3.984 kB / 0.6297 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.5208, allocations: 1.268 MB / 0.6309 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.5208, allocations: 0 / 0.6309 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.5213, allocations: 120 kB / 0.631 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.5214, allocations: 4 kB / 0.6311 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.5214, allocations: 15.98 kB / 0.6311 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.5229, allocations: 2.942 MB / 0.6339 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.5229, allocations: 8.016 kB / 0.6339 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009526/0.5239, allocations: 0.5777 MB / 0.6345 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.5242, allocations: 227.6 kB / 0.6347 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/0.5243, allocations: 12 kB / 0.6347 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.5249, allocations: 59.88 kB / 0.6348 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.525, allocations: 27.91 kB / 0.6348 GB, free: 6.059 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.525, allocations: 19.98 kB / 0.6348 GB, free: 6.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008703/0.5259, allocations: 0.6084 MB / 0.6354 GB, free: 5.422 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5259, allocations: 3.938 kB / 0.6354 GB, free: 5.418 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002055/0.528, allocations: 0.5384 MB / 0.636 GB, free: 4.879 MB / 478.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009004/0.5289, allocations: 331.8 kB / 0.6363 GB, free: 4.562 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.5319, allocations: 0.8586 MB / 0.6371 GB, free: 3.707 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5319, allocations: 0 / 0.6371 GB, free: 3.707 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.5325, allocations: 241 kB / 0.6374 GB, free: 3.473 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.5356, allocations: 473.5 kB / 0.6378 GB, free: 3.012 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.5385, allocations: 1.934 MB / 0.6397 GB, free: 1.035 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.5392, allocations: 1.025 MB / 0.6407 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.5395, allocations: 87.36 kB / 0.6408 GB, free: 15.89 MB / 494.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5395, allocations: 0 / 0.6408 GB, free: 15.89 MB / 494.1 MB Notification: Performance of Templates: time 0.04477/0.5842, allocations: 36.25 MB / 0.6762 GB, free: 11.88 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)