Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.829/1.829, allocations: 288.4 MB / 303.7 MB, free: 8.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 172.5 kB / 372.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 0.631 GB, free: 13.46 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008214/0.0008212, allocations: 89.89 kB / 0.7444 GB, free: 64.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004536, allocations: 12 kB / 0.8675 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2725, allocations: 115.3 MB / 0.9801 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02289/0.2954, allocations: 19.04 MB / 0.9987 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007344/0.3028, allocations: 4.626 MB / 1.003 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009655/0.3038, allocations: 15.88 kB / 1.003 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3051, allocations: 202.6 kB / 1.003 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.3084, allocations: 0.7074 MB / 1.004 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.3109, allocations: 0.6003 MB / 1.005 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.3135, allocations: 1.571 MB / 1.006 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.3145, allocations: 368.3 kB / 1.007 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.3159, allocations: 0.5096 MB / 1.007 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009491/0.3169, allocations: 426.2 kB / 1.008 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.317, allocations: 24 kB / 1.008 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.3184, allocations: 0.5769 MB / 1.008 GB, free: 400 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3186, allocations: 99.58 kB / 1.008 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.319, allocations: 284.3 kB / 1.008 GB, free: 8 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.32, allocations: 0.5806 MB / 1.009 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3201, allocations: 0 / 1.009 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.677e-06/0.3201, allocations: 0 / 1.009 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.469e-05/0.3201, allocations: 3.938 kB / 1.009 GB, free: 15.42 MB / 0.7448 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.001787/0.3219, allocations: 0.8236 MB / 1.01 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3219, allocations: 16.03 kB / 1.01 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.3222, allocations: 64.19 kB / 1.01 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.323, allocations: 455.1 kB / 1.01 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3231, allocations: 28.64 kB / 1.01 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.3232, allocations: 32 kB / 1.01 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.3238, allocations: 321.9 kB / 1.011 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3239, allocations: 0 / 1.011 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.3239, allocations: 16 kB / 1.011 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3239, allocations: 8 kB / 1.011 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.3246, allocations: 282.4 kB / 1.011 GB, free: 13.31 MB / 0.7448 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.002458/0.3271, allocations: 1.356 MB / 1.012 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.3277, allocations: 260.8 kB / 1.013 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.328, allocations: 152.8 kB / 1.013 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005305/0.3286, allocations: 0.4986 MB / 1.013 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3286, allocations: 34.56 kB / 1.013 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.3286, allocations: 4 kB / 1.013 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.001815/0.3304, allocations: 0.5807 MB / 1.014 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3305, allocations: 59.41 kB / 1.014 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.331, allocations: 458.1 kB / 1.014 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.3311, allocations: 33.7 kB / 1.014 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3313, allocations: 248.4 kB / 1.015 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.3314, allocations: 90.73 kB / 1.015 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.3314, allocations: 7.938 kB / 1.015 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3315, allocations: 362.7 kB / 1.015 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.3318, allocations: 119.9 kB / 1.015 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.3322, allocations: 188.8 kB / 1.015 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.3329, allocations: 284.4 kB / 1.016 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3329, allocations: 3.938 kB / 1.016 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001008/0.3339, allocations: 432 kB / 1.016 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.334, allocations: 102.7 kB / 1.016 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.334, allocations: 0 / 1.016 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003431/0.3343, allocations: 52.81 kB / 1.016 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.3347, allocations: 75.89 kB / 1.016 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004354/0.3352, allocations: 0.5679 MB / 1.017 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.3357, allocations: 67.67 kB / 1.017 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.3357, allocations: 15.98 kB / 1.017 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.3357, allocations: 8.062 kB / 1.017 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007202/0.3365, allocations: 327.6 kB / 1.017 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/0.3365, allocations: 0 / 1.017 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/0.3365, allocations: 4 kB / 1.017 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.3369, allocations: 75.89 kB / 1.017 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3369, allocations: 4 kB / 1.017 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.3373, allocations: 63.86 kB / 1.017 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.3373, allocations: 15.98 kB / 1.017 GB, free: 6.434 MB / 0.7448 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.0002621/0.3376, allocations: 248.9 kB / 1.018 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.3377, allocations: 55.34 kB / 1.018 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009403/0.3386, allocations: 432.1 kB / 1.018 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3387, allocations: 8.141 kB / 1.018 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3387, allocations: 0 / 1.018 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3387, allocations: 3.984 kB / 1.018 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.3402, allocations: 0.9709 MB / 1.019 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3402, allocations: 0 / 1.019 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.3405, allocations: 56.09 kB / 1.019 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.3406, allocations: 36.83 kB / 1.019 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.3407, allocations: 11.94 kB / 1.019 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003265/0.341, allocations: 0.564 MB / 1.02 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.341, allocations: 0 / 1.02 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.3418, allocations: 0.5069 MB / 1.02 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.342, allocations: 160.3 kB / 1.02 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.342, allocations: 8 kB / 1.02 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.3424, allocations: 43.95 kB / 1.02 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.3425, allocations: 15.97 kB / 1.02 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.3425, allocations: 16 kB / 1.02 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003486/0.3429, allocations: 322.9 kB / 1.021 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.613e-06/0.3429, allocations: 0 / 1.021 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007553/0.3436, allocations: 259.4 kB / 1.021 GB, free: 2.578 MB / 0.7448 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.0005091/0.3442, allocations: 247.2 kB / 1.021 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.3454, allocations: 493.9 kB / 1.022 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3454, allocations: 8 kB / 1.022 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.3458, allocations: 175.6 kB / 1.022 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.3473, allocations: 254.4 kB / 1.022 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.3489, allocations: 0.9714 MB / 1.023 GB, free: 428 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4891/0.838, allocations: 0.8522 MB / 1.024 GB, free: 101.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000701/0.8387, allocations: 113.2 kB / 1.024 GB, free: 101.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.8389, allocations: 42.28 kB / 1.024 GB, free: 101.2 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.8389, allocations: 0.8438 kB / 1.024 GB, free: 101.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.02223/0.8611, allocations: 9.748 MB / 1.033 GB, free: 100.7 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)