Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001327/0.001327, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001479/0.001479, allocations: 177.3 kB / 15.94 MB, free: 228 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.903/1.903, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.656/1.656, allocations: 251.9 MB / 0.51 GB, free: 4.809 MB / 414.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.0007023/0.0007024, allocations: 20 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6808/0.6815, allocations: 106.3 MB / 0.728 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01966/0.7012, allocations: 17.42 MB / 0.745 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006689/0.708, allocations: 3.965 MB / 0.7488 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.7087, allocations: 15.88 kB / 0.7489 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009791/0.7097, allocations: 262.7 kB / 0.7491 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.7124, allocations: 0.7878 MB / 0.7499 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.7146, allocations: 0.7096 MB / 0.7506 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.716, allocations: 0.8436 MB / 0.7514 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.7166, allocations: 348.9 kB / 0.7517 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008658/0.7175, allocations: 474.4 kB / 0.7522 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.7179, allocations: 326.7 kB / 0.7525 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.718, allocations: 20 kB / 0.7525 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009709/0.719, allocations: 395.5 kB / 0.7529 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.7191, allocations: 99.56 kB / 0.753 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.7193, allocations: 125.4 kB / 0.7531 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006435/0.7199, allocations: 0.5104 MB / 0.7536 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.7199, allocations: 0 / 0.7536 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.817e-06/0.7199, allocations: 8 kB / 0.7536 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7199, allocations: 0 / 0.7536 GB, free: 1.066 MB / 0.5606 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.001516/0.7215, allocations: 0.8213 MB / 0.7544 GB, free: 200 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7215, allocations: 8.031 kB / 0.7544 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.7216, allocations: 67.25 kB / 0.7545 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.7223, allocations: 430.9 kB / 0.7549 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.7224, allocations: 24.66 kB / 0.7549 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.7224, allocations: 32 kB / 0.755 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.723, allocations: 318 kB / 0.7553 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7231, allocations: 0 / 0.7553 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.7231, allocations: 15.94 kB / 0.7553 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.7231, allocations: 8 kB / 0.7553 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/0.7237, allocations: 274.4 kB / 0.7555 GB, free: 15 MB / 0.5762 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.002202/0.726, allocations: 1.356 MB / 0.7569 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.7266, allocations: 286.4 kB / 0.7571 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/0.7272, allocations: 0.4986 MB / 0.7576 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.7272, allocations: 30.56 kB / 0.7577 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.7272, allocations: 0 / 0.7577 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001784/0.729, allocations: 0.5901 MB / 0.7582 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.7291, allocations: 59.34 kB / 0.7583 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.7296, allocations: 458.1 kB / 0.7587 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.7297, allocations: 33.7 kB / 0.7588 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.7299, allocations: 240.5 kB / 0.759 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.73, allocations: 90.73 kB / 0.7591 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.73, allocations: 8 kB / 0.7591 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.7302, allocations: 362.7 kB / 0.7594 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.7305, allocations: 119.7 kB / 0.7595 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.7309, allocations: 189.2 kB / 0.7597 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.7312, allocations: 141 kB / 0.7599 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7312, allocations: 0 / 0.7599 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001054/0.7323, allocations: 436.4 kB / 0.7603 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.7325, allocations: 281.2 kB / 0.7605 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7325, allocations: 4 kB / 0.7605 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.7329, allocations: 48.81 kB / 0.7606 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.7332, allocations: 79.89 kB / 0.7607 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004547/0.7337, allocations: 0.5485 MB / 0.7612 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.7342, allocations: 74.86 kB / 0.7613 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.7343, allocations: 11.98 kB / 0.7613 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.7343, allocations: 7.953 kB / 0.7613 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007302/0.735, allocations: 324.2 kB / 0.7616 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.735, allocations: 4 kB / 0.7616 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.735, allocations: 7.938 kB / 0.7616 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.7354, allocations: 83.94 kB / 0.7617 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.7354, allocations: 3.938 kB / 0.7617 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.7359, allocations: 71.58 kB / 0.7618 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.7359, allocations: 15.98 kB / 0.7618 GB, free: 8.215 MB / 0.5762 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.0003209/0.7363, allocations: 241 kB / 0.762 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.7363, allocations: 55.3 kB / 0.7621 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.7374, allocations: 426.1 kB / 0.7625 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.7374, allocations: 11.98 kB / 0.7625 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7374, allocations: 0 / 0.7625 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.7374, allocations: 3.984 kB / 0.7625 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.7391, allocations: 0.963 MB / 0.7634 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7391, allocations: 3.938 kB / 0.7634 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.7393, allocations: 51.97 kB / 0.7635 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001743/0.7395, allocations: 48.75 kB / 0.7635 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.7395, allocations: 11.98 kB / 0.7635 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000411/0.74, allocations: 0.5564 MB / 0.7641 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.74, allocations: 11.92 kB / 0.7641 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.7408, allocations: 0.5605 MB / 0.7646 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.741, allocations: 164.3 kB / 0.7648 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.7411, allocations: 4 kB / 0.7648 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.7415, allocations: 47.89 kB / 0.7648 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.7415, allocations: 23.83 kB / 0.7649 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.7416, allocations: 15.98 kB / 0.7649 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003356/0.7419, allocations: 310.9 kB / 0.7652 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7419, allocations: 4 kB / 0.7652 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007602/0.7427, allocations: 251.5 kB / 0.7654 GB, free: 4.289 MB / 0.5762 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.0005405/0.7432, allocations: 257.7 kB / 0.7657 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.7445, allocations: 482.3 kB / 0.7661 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7445, allocations: 0 / 0.7661 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.7449, allocations: 179.7 kB / 0.7663 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.7462, allocations: 262 kB / 0.7666 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.7477, allocations: 0.9695 MB / 0.7675 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.7482, allocations: 0.863 MB / 0.7683 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004131/0.7486, allocations: 116.2 kB / 0.7685 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.7487, allocations: 43.44 kB / 0.7685 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.7487, allocations: 0 / 0.7685 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of Templates: time 0.0193/0.768, allocations: 9.577 MB / 0.7778 GB, free: 7.668 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: