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.001377/0.001377, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001898, allocations: 196.1 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.1 MB / 222.4 MB, free: 4.402 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.662/1.662, allocations: 251.7 MB / 0.5092 GB, free: 3.125 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.001878/0.001878, allocations: 76.36 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7111, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02287/0.734, allocations: 20.76 MB / 0.7448 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007864/0.742, allocations: 4.894 MB / 0.7496 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.7433, allocations: 19.88 kB / 0.7496 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.7445, allocations: 274 kB / 0.7498 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.7474, allocations: 0.8191 MB / 0.7506 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.7498, allocations: 0.6932 MB / 0.7513 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.7519, allocations: 1.38 MB / 0.7527 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006741/0.7526, allocations: 438.4 kB / 0.7531 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.7537, allocations: 0.572 MB / 0.7536 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.7544, allocations: 450.1 kB / 0.7541 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.343e-05/0.7545, allocations: 40 kB / 0.7541 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.756, allocations: 0.6355 MB / 0.7547 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.7561, allocations: 127.5 kB / 0.7549 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.7565, allocations: 282.5 kB / 0.7551 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.7579, allocations: 0.8489 MB / 0.756 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7579, allocations: 0 / 0.756 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7579, allocations: 0 / 0.756 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.7579, allocations: 0 / 0.756 GB, free: 12.61 MB / 0.5762 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.001635/0.7595, allocations: 0.9227 MB / 0.7569 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.7596, allocations: 12.03 kB / 0.7569 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.7598, allocations: 64.19 kB / 0.7569 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/0.7605, allocations: 451.4 kB / 0.7574 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.7605, allocations: 28.59 kB / 0.7574 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.7606, allocations: 39.94 kB / 0.7574 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.7613, allocations: 310 kB / 0.7577 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.7613, allocations: 0 / 0.7577 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.7613, allocations: 12 kB / 0.7577 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.7614, allocations: 8 kB / 0.7577 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.762, allocations: 258.4 kB / 0.758 GB, free: 10.44 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.002319/0.7643, allocations: 1.349 MB / 0.7593 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.7649, allocations: 258.5 kB / 0.7595 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.7652, allocations: 136.8 kB / 0.7597 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/0.7657, allocations: 0.4908 MB / 0.7602 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.7658, allocations: 38.55 kB / 0.7602 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.7658, allocations: 0 / 0.7602 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.00181/0.7676, allocations: 0.5581 MB / 0.7607 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.7676, allocations: 55.34 kB / 0.7608 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.7682, allocations: 474 kB / 0.7612 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.7683, allocations: 33.7 kB / 0.7613 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.7685, allocations: 240.4 kB / 0.7615 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.7686, allocations: 90.75 kB / 0.7616 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.7687, allocations: 81.42 kB / 0.7617 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.7689, allocations: 358.8 kB / 0.762 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.7692, allocations: 116.8 kB / 0.7621 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.7696, allocations: 185 kB / 0.7623 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.7702, allocations: 272.9 kB / 0.7626 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7703, allocations: 0 / 0.7626 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001591/0.7718, allocations: 497.5 kB / 0.763 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.7719, allocations: 8 kB / 0.763 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.7719, allocations: 0 / 0.763 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004007/0.7723, allocations: 48.81 kB / 0.7631 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.7727, allocations: 71.89 kB / 0.7632 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005376/0.7732, allocations: 0.5678 MB / 0.7637 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.7737, allocations: 47.7 kB / 0.7638 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.7738, allocations: 15.98 kB / 0.7638 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004839/0.7742, allocations: 236 kB / 0.764 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003417/0.7746, allocations: 184.8 kB / 0.7642 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005612/0.7752, allocations: 264.7 kB / 0.7644 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.263e-06/0.7752, allocations: 4 kB / 0.7644 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007898/0.776, allocations: 374.4 kB / 0.7648 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.776, allocations: 4 kB / 0.7648 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.776, allocations: 0 / 0.7648 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/0.776, allocations: 4 kB / 0.7648 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.7764, allocations: 75.83 kB / 0.7649 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.7764, allocations: 8.141 kB / 0.7649 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.7769, allocations: 55.73 kB / 0.7649 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.7769, allocations: 19.92 kB / 0.7649 GB, free: 2.875 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 (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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.7771, allocations: 194 kB / 0.7651 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.7772, allocations: 51.34 kB / 0.7652 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009885/0.7782, allocations: 416.5 kB / 0.7656 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.7782, allocations: 15.86 kB / 0.7656 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7782, allocations: 0 / 0.7656 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7782, allocations: 0 / 0.7656 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.7798, allocations: 0.9444 MB / 0.7665 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7798, allocations: 4 kB / 0.7665 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.78, allocations: 47.95 kB / 0.7666 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001895/0.7802, allocations: 48.77 kB / 0.7666 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.7803, allocations: 8 kB / 0.7666 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004138/0.7807, allocations: 0.5525 MB / 0.7672 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.7807, allocations: 7.969 kB / 0.7672 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.7815, allocations: 0.4883 MB / 0.7676 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.7817, allocations: 156.3 kB / 0.7678 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.7818, allocations: 8 kB / 0.7678 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.7821, allocations: 27.97 kB / 0.7678 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.7822, allocations: 23.91 kB / 0.7678 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.7822, allocations: 12 kB / 0.7679 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003562/0.7826, allocations: 322.9 kB / 0.7682 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7826, allocations: 0 / 0.7682 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008022/0.7834, allocations: 255.5 kB / 0.7684 GB, free: 15.16 MB / 0.5919 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005629/0.784, allocations: 256.6 kB / 0.7687 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.7853, allocations: 483.8 kB / 0.7691 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7853, allocations: 0 / 0.7691 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.7857, allocations: 171.8 kB / 0.7693 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.7868, allocations: 222.4 kB / 0.7695 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.7883, allocations: 0.8394 MB / 0.7703 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.7888, allocations: 0.851 MB / 0.7711 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004327/0.7892, allocations: 120.2 kB / 0.7713 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.7893, allocations: 43.42 kB / 0.7713 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.7893, allocations: 0 / 0.7713 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of Templates: time 0.01931/0.8087, allocations: 10.12 MB / 0.7812 GB, free: 2.191 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (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)