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.001365/0.001365, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001997/0.001997, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.66/1.66, allocations: 205.1 MB / 222.1 MB, free: 4.555 MB / 174.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.838/1.838, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001508/0.001508, allocations: 74.3 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3412, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02326/0.3645, allocations: 20.63 MB / 0.803 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008302/0.3728, allocations: 4.897 MB / 0.8078 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.374, allocations: 19.88 kB / 0.8078 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009802/0.3751, allocations: 230.7 kB / 0.808 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.378, allocations: 0.7607 MB / 0.8088 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.3804, allocations: 0.6446 MB / 0.8094 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002633/0.3831, allocations: 1.38 MB / 0.8107 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006957/0.3838, allocations: 432.7 kB / 0.8111 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.385, allocations: 0.5681 MB / 0.8117 GB, free: 264 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006838/0.3857, allocations: 474 kB / 0.8122 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.461e-05/0.3858, allocations: 40 kB / 0.8122 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.3875, allocations: 0.6355 MB / 0.8128 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.3876, allocations: 131.5 kB / 0.8129 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003995/0.388, allocations: 286.4 kB / 0.8132 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.3896, allocations: 0.8373 MB / 0.814 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.3896, allocations: 0 / 0.814 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3896, allocations: 0 / 0.814 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.3896, allocations: 0 / 0.814 GB, free: 13.87 MB / 0.6387 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.001843/0.3915, allocations: 0.9226 MB / 0.8149 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.3915, allocations: 12.03 kB / 0.8149 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.3917, allocations: 64.19 kB / 0.815 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/0.3925, allocations: 455.3 kB / 0.8154 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.3925, allocations: 24.66 kB / 0.8155 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.3926, allocations: 36 kB / 0.8155 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.3933, allocations: 310 kB / 0.8158 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3933, allocations: 0 / 0.8158 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.3933, allocations: 15.94 kB / 0.8158 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3934, allocations: 8 kB / 0.8158 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.394, allocations: 258.4 kB / 0.8161 GB, free: 11.69 MB / 0.6387 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.002398/0.3964, allocations: 1.341 MB / 0.8174 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.3969, allocations: 258.4 kB / 0.8176 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.3973, allocations: 140.7 kB / 0.8177 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006728/0.3979, allocations: 0.4986 MB / 0.8182 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.398, allocations: 38.56 kB / 0.8183 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.398, allocations: 0 / 0.8183 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001913/0.3999, allocations: 0.5639 MB / 0.8188 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.4, allocations: 55.41 kB / 0.8189 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006358/0.4006, allocations: 462.2 kB / 0.8193 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.4007, allocations: 29.7 kB / 0.8193 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.4009, allocations: 252.4 kB / 0.8196 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.401, allocations: 82.75 kB / 0.8197 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.4011, allocations: 73.69 kB / 0.8197 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4013, allocations: 358.8 kB / 0.8201 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.4016, allocations: 128.8 kB / 0.8202 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.402, allocations: 180.8 kB / 0.8204 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/0.4026, allocations: 273.9 kB / 0.8206 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4026, allocations: 0 / 0.8206 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001549/0.4042, allocations: 0.4898 MB / 0.8211 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4042, allocations: 4 kB / 0.8211 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4042, allocations: 0 / 0.8211 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.4046, allocations: 56.81 kB / 0.8212 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.405, allocations: 67.89 kB / 0.8212 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005708/0.4056, allocations: 0.5601 MB / 0.8218 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.4062, allocations: 63.73 kB / 0.8218 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.4062, allocations: 19.98 kB / 0.8219 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004579/0.4067, allocations: 235.8 kB / 0.8221 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004284/0.4071, allocations: 181 kB / 0.8223 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005623/0.4077, allocations: 257.6 kB / 0.8225 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.4077, allocations: 4 kB / 0.8225 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008055/0.4085, allocations: 376.9 kB / 0.8229 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4086, allocations: 4 kB / 0.8229 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4086, allocations: 3.984 kB / 0.8229 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.03e-06/0.4086, allocations: 4 kB / 0.8229 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.409, allocations: 79.83 kB / 0.823 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.409, allocations: 8 kB / 0.823 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.4095, allocations: 51.78 kB / 0.823 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.4096, allocations: 19.98 kB / 0.823 GB, free: 4.117 MB / 0.6387 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.0002108/0.4098, allocations: 196.2 kB / 0.8232 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.4099, allocations: 51.34 kB / 0.8233 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.4109, allocations: 424 kB / 0.8237 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.4109, allocations: 4 kB / 0.8237 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.411, allocations: 0 / 0.8237 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.411, allocations: 7.984 kB / 0.8237 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.4126, allocations: 0.9474 MB / 0.8246 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4126, allocations: 4 kB / 0.8246 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.4129, allocations: 51.91 kB / 0.8247 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/0.4131, allocations: 44.95 kB / 0.8247 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.4131, allocations: 11.98 kB / 0.8247 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004463/0.4136, allocations: 0.5523 MB / 0.8253 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.4136, allocations: 3.938 kB / 0.8253 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008434/0.4144, allocations: 0.4886 MB / 0.8257 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.4147, allocations: 156.4 kB / 0.8259 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.092e-05/0.4147, allocations: 11.94 kB / 0.8259 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.4151, allocations: 31.88 kB / 0.8259 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.4152, allocations: 31.84 kB / 0.826 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.4153, allocations: 19.98 kB / 0.826 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003702/0.4156, allocations: 318.9 kB / 0.8263 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4156, allocations: 0 / 0.8263 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009217/0.4166, allocations: 247.5 kB / 0.8265 GB, free: 384 kB / 0.6387 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.0007261/0.4173, allocations: 259.4 kB / 0.8268 GB, free: 128 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.4187, allocations: 479.5 kB / 0.8272 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4188, allocations: 0 / 0.8272 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.4192, allocations: 167.8 kB / 0.8274 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.4204, allocations: 224.5 kB / 0.8276 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4224, allocations: 1.001 MB / 0.8286 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.423, allocations: 0.8549 MB / 0.8294 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005938/0.4236, allocations: 120 kB / 0.8295 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.4237, allocations: 43.42 kB / 0.8296 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.012e-06/0.4237, allocations: 0 / 0.8296 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.02371/0.4474, allocations: 9.974 MB / 0.8393 GB, free: 3.387 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)