Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009403/0.0009405, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001285/0.001285, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005803/0.0005807, allocations: 21.53 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2717, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01824/0.2899, allocations: 19.04 MB / 0.8059 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006318/0.2963, allocations: 4.619 MB / 0.8104 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005973/0.2969, allocations: 15.88 kB / 0.8104 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.2976, allocations: 194.6 kB / 0.8106 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.2998, allocations: 0.6555 MB / 0.8112 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.3019, allocations: 0.5981 MB / 0.8118 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.3039, allocations: 1.536 MB / 0.8133 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.3045, allocations: 345.6 kB / 0.8136 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.3055, allocations: 0.5017 MB / 0.8141 GB, free: 384 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.3062, allocations: 426.2 kB / 0.8145 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.149e-05/0.3062, allocations: 24 kB / 0.8145 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3073, allocations: 0.5184 MB / 0.8151 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3075, allocations: 103.5 kB / 0.8152 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3076, allocations: 121.5 kB / 0.8153 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006632/0.3083, allocations: 0.565 MB / 0.8158 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3083, allocations: 0 / 0.8158 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3083, allocations: 7.875 kB / 0.8158 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.3083, allocations: 0 / 0.8158 GB, free: 14.61 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001335/0.3097, allocations: 0.8254 MB / 0.8166 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3097, allocations: 12.03 kB / 0.8166 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/0.3098, allocations: 63.25 kB / 0.8167 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.3104, allocations: 438.8 kB / 0.8171 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.3104, allocations: 32.66 kB / 0.8172 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.3105, allocations: 36 kB / 0.8172 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.3111, allocations: 318 kB / 0.8175 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3111, allocations: 0 / 0.8175 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3111, allocations: 12 kB / 0.8175 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.3111, allocations: 4 kB / 0.8175 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.3117, allocations: 286.4 kB / 0.8178 GB, free: 12.51 MB / 0.6387 GB 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.001916/0.3136, allocations: 1.356 MB / 0.8191 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/0.3141, allocations: 263.2 kB / 0.8194 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.3144, allocations: 152.7 kB / 0.8195 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004128/0.3148, allocations: 0.4986 MB / 0.82 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3149, allocations: 38.59 kB / 0.82 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.3149, allocations: 4 kB / 0.82 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001541/0.3164, allocations: 0.584 MB / 0.8206 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3165, allocations: 51.41 kB / 0.8207 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.3169, allocations: 462.1 kB / 0.8211 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.317, allocations: 33.7 kB / 0.8211 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.3171, allocations: 244.4 kB / 0.8214 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.3172, allocations: 86.75 kB / 0.8214 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.3172, allocations: 4 kB / 0.8214 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3174, allocations: 362.7 kB / 0.8218 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.3177, allocations: 123.9 kB / 0.8219 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.318, allocations: 188.9 kB / 0.8221 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.3183, allocations: 144.8 kB / 0.8222 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3183, allocations: 0 / 0.8222 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008696/0.3192, allocations: 430.6 kB / 0.8226 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/0.3192, allocations: 109.7 kB / 0.8227 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3193, allocations: 3.984 kB / 0.8227 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003134/0.3196, allocations: 56.69 kB / 0.8228 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.3199, allocations: 79.91 kB / 0.8229 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000393/0.3203, allocations: 0.564 MB / 0.8234 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.3208, allocations: 71.73 kB / 0.8235 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.3208, allocations: 11.98 kB / 0.8235 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.3208, allocations: 4 kB / 0.8235 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006361/0.3215, allocations: 319.6 kB / 0.8238 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.3215, allocations: 0 / 0.8238 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/0.3215, allocations: 4 kB / 0.8238 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.3218, allocations: 87.88 kB / 0.8239 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3218, allocations: 4 kB / 0.8239 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.3222, allocations: 71.8 kB / 0.824 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.3223, allocations: 12 kB / 0.824 GB, free: 5.773 MB / 0.6387 GB 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.3225, allocations: 245 kB / 0.8242 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.3226, allocations: 51.42 kB / 0.8243 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008717/0.3234, allocations: 443.9 kB / 0.8247 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3234, allocations: 4 kB / 0.8247 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3235, allocations: 0 / 0.8247 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3235, allocations: 7.938 kB / 0.8247 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.3248, allocations: 0.9632 MB / 0.8256 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3249, allocations: 0 / 0.8256 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.3251, allocations: 55.91 kB / 0.8257 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.3252, allocations: 40.78 kB / 0.8257 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.3253, allocations: 11.98 kB / 0.8257 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003195/0.3256, allocations: 0.5603 MB / 0.8263 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3256, allocations: 3.938 kB / 0.8263 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/0.3263, allocations: 0.5081 MB / 0.8268 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.3265, allocations: 156.4 kB / 0.8269 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.3266, allocations: 8 kB / 0.827 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.3269, allocations: 47.86 kB / 0.827 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.327, allocations: 19.91 kB / 0.827 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.327, allocations: 12 kB / 0.827 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003182/0.3273, allocations: 318.9 kB / 0.8273 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3273, allocations: 3.938 kB / 0.8273 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007149/0.3281, allocations: 247.5 kB / 0.8276 GB, free: 1.93 MB / 0.6387 GB 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000473/0.3285, allocations: 255.5 kB / 0.8278 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.3296, allocations: 479.5 kB / 0.8283 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3296, allocations: 4 kB / 0.8283 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.33, allocations: 180 kB / 0.8284 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.3312, allocations: 268.9 kB / 0.8287 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3326, allocations: 0.9718 MB / 0.8297 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.333, allocations: 0.859 MB / 0.8305 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000419/0.3335, allocations: 120.6 kB / 0.8306 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.3336, allocations: 43.42 kB / 0.8306 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of SimCode: time 1.643e-06/0.3336, allocations: 4 kB / 0.8307 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.01625/0.3498, allocations: 9.575 MB / 0.84 GB, free: 5.301 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: