Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001399/0.001399, allocations: 192 kB / 17.2 MB, free: 5.598 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.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8215/0.8215, allocations: 126.7 MB / 417.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.88 kB / 0.4957 GB, free: 2.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.449, allocations: 78.86 MB / 0.5728 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01677/0.4658, allocations: 20.86 MB / 0.5931 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006285/0.4722, allocations: 5.203 MB / 0.5982 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007004/0.4729, allocations: 20.12 kB / 0.5982 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.4736, allocations: 279.8 kB / 0.5985 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.4771, allocations: 1.014 MB / 0.5995 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.479, allocations: 0.6172 MB / 0.6001 GB, free: 9.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.4812, allocations: 1.455 MB / 0.6015 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.4819, allocations: 479.7 kB / 0.602 GB, free: 7.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.483, allocations: 0.6926 MB / 0.6026 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.4835, allocations: 0.4901 MB / 0.6031 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.4836, allocations: 48 kB / 0.6032 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.4848, allocations: 0.7408 MB / 0.6039 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.485, allocations: 151.4 kB / 0.604 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.4852, allocations: 330.3 kB / 0.6043 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009269/0.4861, allocations: 0.9776 MB / 0.6053 GB, free: 4.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4861, allocations: 0 / 0.6053 GB, free: 4.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4862, allocations: 3.938 kB / 0.6053 GB, free: 4.496 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.4862, allocations: 0 / 0.6053 GB, free: 4.496 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001594/0.4878, allocations: 1.024 MB / 0.6063 GB, free: 3.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.4878, allocations: 8.031 kB / 0.6063 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.4879, allocations: 68.19 kB / 0.6064 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/0.4887, allocations: 0.5608 MB / 0.6069 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.4887, allocations: 20.56 kB / 0.6069 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.4887, allocations: 32 kB / 0.607 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.4893, allocations: 304.7 kB / 0.6073 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4893, allocations: 0 / 0.6073 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.4894, allocations: 12 kB / 0.6073 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.4894, allocations: 8 kB / 0.6073 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.49, allocations: 262 kB / 0.6075 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.4917, allocations: 1.418 MB / 0.6089 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.4923, allocations: 246.5 kB / 0.6092 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.4926, allocations: 132.8 kB / 0.6093 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004575/0.493, allocations: 0.4949 MB / 0.6098 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.4931, allocations: 38.55 kB / 0.6098 GB, free: 15.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.4931, allocations: 0 / 0.6098 GB, free: 15.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.001172/0.4943, allocations: 406.6 kB / 0.6102 GB, free: 15.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.4943, allocations: 55.41 kB / 0.6102 GB, free: 15.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/0.4953, allocations: 0.6161 MB / 0.6108 GB, free: 14.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.4953, allocations: 29.7 kB / 0.6109 GB, free: 14.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.4955, allocations: 260.7 kB / 0.6111 GB, free: 14.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.4956, allocations: 71.08 kB / 0.6112 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.4958, allocations: 122 kB / 0.6113 GB, free: 13.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.496, allocations: 362.8 kB / 0.6116 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.4966, allocations: 198.5 kB / 0.6118 GB, free: 13.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/0.4973, allocations: 283.9 kB / 0.6121 GB, free: 13.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009579/0.4983, allocations: 372.8 kB / 0.6125 GB, free: 12.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4983, allocations: 0 / 0.6125 GB, free: 12.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001652/0.4999, allocations: 0.5796 MB / 0.613 GB, free: 12.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.5, allocations: 12.08 kB / 0.613 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5, allocations: 7.875 kB / 0.613 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.5002, allocations: 60.8 kB / 0.6131 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.5008, allocations: 103.9 kB / 0.6132 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005435/0.5013, allocations: 0.564 MB / 0.6138 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.5021, allocations: 94.12 kB / 0.6138 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.5022, allocations: 23.98 kB / 0.6139 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007105/0.5029, allocations: 324.9 kB / 0.6142 GB, free: 10.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006684/0.5036, allocations: 287.9 kB / 0.6145 GB, free: 10.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009222/0.5045, allocations: 349.3 kB / 0.6148 GB, free: 10.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.5045, allocations: 4 kB / 0.6148 GB, free: 10.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001461/0.506, allocations: 0.5452 MB / 0.6153 GB, free: 9.707 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.506, allocations: 8 kB / 0.6153 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.506, allocations: 4 kB / 0.6153 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-06/0.506, allocations: 0 / 0.6153 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.5066, allocations: 123.8 kB / 0.6155 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5066, allocations: 4 kB / 0.6155 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.5074, allocations: 79.8 kB / 0.6155 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.5075, allocations: 19.98 kB / 0.6155 GB, free: 9.473 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.5077, allocations: 208.1 kB / 0.6157 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.5078, allocations: 55.28 kB / 0.6158 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009865/0.5088, allocations: 378.4 kB / 0.6162 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.5088, allocations: 0 / 0.6162 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.5089, allocations: 4 kB / 0.6162 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5089, allocations: 11.98 kB / 0.6162 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.5107, allocations: 1.002 MB / 0.6172 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5107, allocations: 3.938 kB / 0.6172 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.5111, allocations: 79.91 kB / 0.6172 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.5111, allocations: 4 kB / 0.6172 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.5112, allocations: 4 kB / 0.6172 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005545/0.5117, allocations: 0.6329 MB / 0.6179 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5117, allocations: 0 / 0.6179 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.5127, allocations: 474.5 kB / 0.6183 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.5129, allocations: 164.4 kB / 0.6185 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.513, allocations: 7.938 kB / 0.6185 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.5134, allocations: 47.88 kB / 0.6185 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.5135, allocations: 15.98 kB / 0.6185 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.5135, allocations: 11.98 kB / 0.6186 GB, free: 6.238 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007305/0.5143, allocations: 442.7 kB / 0.619 GB, free: 5.809 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5143, allocations: 4 kB / 0.619 GB, free: 5.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001114/0.5154, allocations: 327.5 kB / 0.6193 GB, free: 5.484 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006854/0.5161, allocations: 282.4 kB / 0.6196 GB, free: 5.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.5181, allocations: 0.6717 MB / 0.6202 GB, free: 4.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5182, allocations: 4 kB / 0.6202 GB, free: 4.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.5197, allocations: 259.9 kB / 0.6205 GB, free: 4.285 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.5209, allocations: 217.6 kB / 0.6207 GB, free: 4.086 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5226, allocations: 0.8645 MB / 0.6215 GB, free: 3.184 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.5232, allocations: 0.8669 MB / 0.6224 GB, free: 2.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005959/0.5238, allocations: 148.2 kB / 0.6225 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.524, allocations: 55.41 kB / 0.6226 GB, free: 2.086 MB / 462.1 MB Notification: Performance of SimCode: time 2.515e-06/0.524, allocations: 0 / 0.6226 GB, free: 2.086 MB / 462.1 MB Notification: Performance of Templates: time 0.02256/0.5465, allocations: 11.88 MB / 0.6342 GB, free: 6.398 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)