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.697/1.697, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001378/0.001378, allocations: 176.9 kB / 361.4 MB, free: 6.801 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.816/1.816, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008462/0.000846, allocations: 95.47 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.002e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7091/0.7092, allocations: 115.3 MB / 0.9644 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.741, allocations: 378.1 MB / 1.334 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/1.741, allocations: 84.11 kB / 1.334 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4594/2.2, allocations: 249.8 MB / 1.578 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.784e-06/2.2, allocations: 0 / 1.578 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001055/2.2, allocations: 16 kB / 1.578 GB, free: 14.84 MB / 0.9167 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.002436/2.203, allocations: 0.8299 MB / 1.578 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/2.203, allocations: 12.03 kB / 1.578 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/2.203, allocations: 67.2 kB / 1.578 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/2.205, allocations: 459.6 kB / 1.579 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/2.205, allocations: 8 kB / 1.579 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/2.205, allocations: 27.94 kB / 1.579 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004782/2.205, allocations: 193.5 kB / 1.579 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/2.206, allocations: 234.2 kB / 1.579 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/2.206, allocations: 3.938 kB / 1.579 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/2.206, allocations: 3.938 kB / 1.579 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/2.206, allocations: 11.95 kB / 1.579 GB, free: 12.92 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.002675/2.208, allocations: 1.243 MB / 1.581 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/2.209, allocations: 240 kB / 1.581 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/2.209, allocations: 100.8 kB / 1.581 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/2.21, allocations: 0.4947 MB / 1.581 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/2.21, allocations: 36.16 kB / 1.581 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 3.948e-06/2.21, allocations: 0 / 1.581 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.0009099/2.211, allocations: 266.3 kB / 1.582 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/2.211, allocations: 59.41 kB / 1.582 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/2.211, allocations: 353.2 kB / 1.582 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/2.211, allocations: 25.7 kB / 1.582 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/2.212, allocations: 248.6 kB / 1.582 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/2.212, allocations: 82.75 kB / 1.582 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/2.212, allocations: 0 / 1.582 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001855/2.212, allocations: 350.8 kB / 1.583 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/2.212, allocations: 83.97 kB / 1.583 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/2.212, allocations: 174.2 kB / 1.583 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/2.213, allocations: 113.4 kB / 1.583 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/2.213, allocations: 4 kB / 1.583 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008804/2.214, allocations: 342.3 kB / 1.583 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/2.214, allocations: 275 kB / 1.584 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/2.214, allocations: 0 / 1.584 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/2.214, allocations: 36.84 kB / 1.584 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/2.215, allocations: 79.88 kB / 1.584 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005303/2.215, allocations: 0.564 MB / 1.584 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/2.216, allocations: 71.64 kB / 1.584 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/2.216, allocations: 19.97 kB / 1.584 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/2.216, allocations: 8 kB / 1.584 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005436/2.216, allocations: 222.3 kB / 1.585 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/2.216, allocations: 0 / 1.585 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/2.216, allocations: 4 kB / 1.585 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/2.217, allocations: 91.81 kB / 1.585 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/2.217, allocations: 4 kB / 1.585 GB, free: 7.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/2.217, allocations: 51.8 kB / 1.585 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/2.217, allocations: 19.98 kB / 1.585 GB, free: 6.949 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real 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 () * 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.0001933/2.218, allocations: 116 kB / 1.585 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/2.218, allocations: 51.38 kB / 1.585 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007958/2.219, allocations: 340.9 kB / 1.585 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/2.219, allocations: 0 / 1.585 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/2.219, allocations: 4 kB / 1.585 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/2.219, allocations: 4 kB / 1.585 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/2.22, allocations: 0.8108 MB / 1.586 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/2.22, allocations: 3.938 kB / 1.586 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/2.22, allocations: 56.03 kB / 1.586 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/2.221, allocations: 36.83 kB / 1.586 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/2.221, allocations: 8 kB / 1.586 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004108/2.221, allocations: 0.5523 MB / 1.587 GB, free: 4.887 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/2.221, allocations: 4.062 kB / 1.587 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/2.222, allocations: 477.9 kB / 1.587 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/2.222, allocations: 152.4 kB / 1.587 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/2.222, allocations: 4 kB / 1.587 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/2.223, allocations: 39.95 kB / 1.587 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/2.223, allocations: 23.91 kB / 1.587 GB, free: 4.125 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/2.223, allocations: 11.98 kB / 1.587 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003309/2.223, allocations: 271 kB / 1.588 GB, free: 3.852 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.774e-06/2.223, allocations: 0 / 1.588 GB, free: 3.852 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001069/2.224, allocations: 271.4 kB / 1.588 GB, free: 3.586 MB / 0.9167 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 () * 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.0009522/2.225, allocations: 369.2 kB / 1.588 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009291/2.226, allocations: 370.4 kB / 1.589 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/2.226, allocations: 3.938 kB / 1.589 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/2.226, allocations: 131.9 kB / 1.589 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/2.228, allocations: 235.2 kB / 1.589 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/2.229, allocations: 0.5635 MB / 1.59 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/2.23, allocations: 0.8674 MB / 1.59 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006406/2.23, allocations: 128.4 kB / 1.591 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/2.23, allocations: 39.42 kB / 1.591 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/2.23, allocations: 0 / 1.591 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of Templates: time 0.0225/2.253, allocations: 10.1 MB / 1.6 GB, free: 6.859 MB / 0.9323 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)