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.001088/0.001088, allocations: 105.1 kB / 16.35 MB, free: 5.879 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.001155/0.001155, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.909/1.909, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001652/0.001652, allocations: 64.47 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2255, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.5099/0.7354, allocations: 20.75 MB / 0.805 GB, free: 37.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006447/0.7419, allocations: 4.925 MB / 0.8098 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008454/0.7428, allocations: 18.38 kB / 0.8099 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000865/0.7437, allocations: 272.9 kB / 0.8101 GB, free: 34.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.746, allocations: 0.8141 MB / 0.8109 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.7481, allocations: 0.7062 MB / 0.8116 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002061/0.7502, allocations: 1.39 MB / 0.813 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.7509, allocations: 437.5 kB / 0.8134 GB, free: 32.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.752, allocations: 0.5697 MB / 0.8139 GB, free: 32.31 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.7527, allocations: 454.3 kB / 0.8144 GB, free: 32.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/0.7528, allocations: 37.44 kB / 0.8144 GB, free: 32.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.7544, allocations: 0.6323 MB / 0.815 GB, free: 31.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.7546, allocations: 123.1 kB / 0.8151 GB, free: 31.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.7549, allocations: 290.3 kB / 0.8154 GB, free: 31.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.7563, allocations: 0.8499 MB / 0.8162 GB, free: 31.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7563, allocations: 4 kB / 0.8162 GB, free: 31.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7563, allocations: 1.094 kB / 0.8162 GB, free: 31.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.7563, allocations: 0 / 0.8162 GB, free: 31.35 MB / 0.6544 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.001636/0.758, allocations: 0.9247 MB / 0.8171 GB, free: 30.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.758, allocations: 11.47 kB / 0.8172 GB, free: 30.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.7582, allocations: 63.72 kB / 0.8172 GB, free: 30.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.7589, allocations: 450.1 kB / 0.8176 GB, free: 30.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.7589, allocations: 31.5 kB / 0.8177 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.759, allocations: 35.22 kB / 0.8177 GB, free: 30.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.7596, allocations: 305.8 kB / 0.818 GB, free: 30.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.7597, allocations: 7.938 kB / 0.818 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.7597, allocations: 10.47 kB / 0.818 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.7597, allocations: 7.062 kB / 0.818 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.7604, allocations: 260.6 kB / 0.8183 GB, free: 30.07 MB / 0.6544 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.002249/0.7626, allocations: 1.336 MB / 0.8196 GB, free: 29.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.7632, allocations: 249.5 kB / 0.8198 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.7635, allocations: 141.1 kB / 0.82 GB, free: 29.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/0.7639, allocations: 0.4939 MB / 0.8204 GB, free: 28.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.764, allocations: 36.27 kB / 0.8205 GB, free: 28.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.814e-06/0.764, allocations: 1.125 kB / 0.8205 GB, free: 28.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001822/0.7658, allocations: 0.5663 MB / 0.821 GB, free: 28.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.7658, allocations: 54.62 kB / 0.8211 GB, free: 28.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.7665, allocations: 463.9 kB / 0.8215 GB, free: 27.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.7665, allocations: 36.23 kB / 0.8216 GB, free: 27.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.7666, allocations: 242.2 kB / 0.8218 GB, free: 27.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.7667, allocations: 84.14 kB / 0.8219 GB, free: 27.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.7668, allocations: 84.84 kB / 0.8219 GB, free: 27.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.767, allocations: 357.3 kB / 0.8223 GB, free: 27.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.7673, allocations: 130.1 kB / 0.8224 GB, free: 27.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.7676, allocations: 181.7 kB / 0.8226 GB, free: 27.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.7683, allocations: 266.4 kB / 0.8228 GB, free: 26.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7683, allocations: 0 / 0.8228 GB, free: 26.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001564/0.7698, allocations: 495.4 kB / 0.8233 GB, free: 26.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7699, allocations: 5.281 kB / 0.8233 GB, free: 26.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7699, allocations: 6.016 kB / 0.8233 GB, free: 26.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.7703, allocations: 55.33 kB / 0.8234 GB, free: 26.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.7707, allocations: 70.97 kB / 0.8234 GB, free: 26.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003427/0.771, allocations: 0.5625 MB / 0.824 GB, free: 26.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.7715, allocations: 54.61 kB / 0.824 GB, free: 26.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.7716, allocations: 16.86 kB / 0.8241 GB, free: 26.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004268/0.772, allocations: 246 kB / 0.8243 GB, free: 26.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000357/0.7724, allocations: 179.3 kB / 0.8245 GB, free: 25.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005843/0.773, allocations: 261.8 kB / 0.8247 GB, free: 25.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.773, allocations: 0 / 0.8247 GB, free: 25.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008476/0.7738, allocations: 372.9 kB / 0.8251 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7738, allocations: 5.031 kB / 0.8251 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7739, allocations: 5.812 kB / 0.8251 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.7739, allocations: 2.156 kB / 0.8251 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.7743, allocations: 84.48 kB / 0.8252 GB, free: 25.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.7743, allocations: 2.594 kB / 0.8252 GB, free: 25.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.7748, allocations: 51.84 kB / 0.8252 GB, free: 25.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.7749, allocations: 14.2 kB / 0.8252 GB, free: 25.67 MB / 0.6544 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.0001535/0.775, allocations: 202.5 kB / 0.8254 GB, free: 25.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/0.7751, allocations: 46.5 kB / 0.8255 GB, free: 25.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.7762, allocations: 419.8 kB / 0.8259 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.7762, allocations: 4.109 kB / 0.8259 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7762, allocations: 0 / 0.8259 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.7763, allocations: 6.234 kB / 0.8259 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.7779, allocations: 0.9468 MB / 0.8268 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.7779, allocations: 2.391 kB / 0.8268 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.7782, allocations: 49.66 kB / 0.8268 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.7783, allocations: 44.84 kB / 0.8269 GB, free: 24.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.7784, allocations: 10.19 kB / 0.8269 GB, free: 24.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002637/0.7787, allocations: 0.5565 MB / 0.8274 GB, free: 24.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7787, allocations: 5.25 kB / 0.8274 GB, free: 24.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.7795, allocations: 498.2 kB / 0.8279 GB, free: 23.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.7796, allocations: 152.5 kB / 0.8281 GB, free: 23.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.7797, allocations: 7.094 kB / 0.8281 GB, free: 23.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.78, allocations: 24.91 kB / 0.8281 GB, free: 23.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.7801, allocations: 25.23 kB / 0.8281 GB, free: 23.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.7801, allocations: 9.625 kB / 0.8281 GB, free: 23.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003868/0.7805, allocations: 324.8 kB / 0.8284 GB, free: 23.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7805, allocations: 5.344 kB / 0.8284 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009524/0.7815, allocations: 248.8 kB / 0.8287 GB, free: 23.49 MB / 0.6544 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.0005736/0.7821, allocations: 257.8 kB / 0.8289 GB, free: 23.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.7833, allocations: 468.4 kB / 0.8294 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7833, allocations: 4 kB / 0.8294 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.7837, allocations: 168.7 kB / 0.8295 GB, free: 23.19 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.7848, allocations: 218.2 kB / 0.8298 GB, free: 23.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.7863, allocations: 0.8202 MB / 0.8306 GB, free: 22.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.7866, allocations: 0.8549 MB / 0.8314 GB, free: 21.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003782/0.787, allocations: 122.5 kB / 0.8315 GB, free: 21.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.7871, allocations: 42.88 kB / 0.8315 GB, free: 21.93 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.7871, allocations: 1.469 kB / 0.8315 GB, free: 21.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.02126/0.8084, allocations: 10.12 MB / 0.8414 GB, free: 20.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)