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.001637/0.001637, allocations: 108 kB / 15.61 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.002103/0.002103, allocations: 197 kB / 16.53 MB, free: 6.656 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.786/1.786, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.783/1.783, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.00221/0.002211, allocations: 68 kB / 0.6715 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3762, allocations: 114.5 MB / 0.7834 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02278/0.3991, allocations: 20.74 MB / 0.8036 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008112/0.4072, allocations: 4.935 MB / 0.8084 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009258/0.4082, allocations: 19.88 kB / 0.8085 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009615/0.4092, allocations: 282 kB / 0.8087 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.4119, allocations: 0.8117 MB / 0.8095 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.4142, allocations: 0.6989 MB / 0.8102 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001986/0.4162, allocations: 1.38 MB / 0.8115 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.4168, allocations: 436.7 kB / 0.812 GB, free: 144 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.4179, allocations: 0.5681 MB / 0.8125 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.4186, allocations: 454.1 kB / 0.8129 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.4187, allocations: 36 kB / 0.813 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.4202, allocations: 0.6316 MB / 0.8136 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.4204, allocations: 123.5 kB / 0.8137 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.4207, allocations: 294.4 kB / 0.814 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.4221, allocations: 0.8334 MB / 0.8148 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4221, allocations: 4 kB / 0.8148 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4221, allocations: 3.938 kB / 0.8148 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.4221, allocations: 0 / 0.8148 GB, free: 13.2 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.001608/0.4237, allocations: 0.9187 MB / 0.8157 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.4238, allocations: 12.02 kB / 0.8157 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.4239, allocations: 64.19 kB / 0.8158 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.4246, allocations: 455.3 kB / 0.8162 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.4246, allocations: 28.66 kB / 0.8162 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.4247, allocations: 32 kB / 0.8163 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.4254, allocations: 310 kB / 0.8166 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4254, allocations: 7.875 kB / 0.8166 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.4254, allocations: 12 kB / 0.8166 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4255, allocations: 4 kB / 0.8166 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/0.4261, allocations: 266.4 kB / 0.8169 GB, free: 11.02 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.002205/0.4283, allocations: 1.349 MB / 0.8182 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.4288, allocations: 254.5 kB / 0.8184 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.4292, allocations: 132.8 kB / 0.8185 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005154/0.4297, allocations: 0.5025 MB / 0.819 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.4297, allocations: 42.59 kB / 0.8191 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.814e-06/0.4297, allocations: 0 / 0.8191 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001849/0.4316, allocations: 0.5561 MB / 0.8196 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.4317, allocations: 63.39 kB / 0.8197 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/0.4322, allocations: 458.2 kB / 0.8201 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.4322, allocations: 33.7 kB / 0.8201 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.4325, allocations: 244.4 kB / 0.8204 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.012e-05/0.4326, allocations: 86.75 kB / 0.8205 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.4327, allocations: 73.69 kB / 0.8205 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4329, allocations: 354.8 kB / 0.8209 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.4333, allocations: 120.8 kB / 0.821 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.4337, allocations: 184.7 kB / 0.8212 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.4343, allocations: 274.4 kB / 0.8214 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.4343, allocations: 0 / 0.8214 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001627/0.436, allocations: 0.4928 MB / 0.8219 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.436, allocations: 4 kB / 0.8219 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.436, allocations: 8 kB / 0.8219 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.4364, allocations: 60.81 kB / 0.822 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.4368, allocations: 67.89 kB / 0.822 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005557/0.4374, allocations: 0.5601 MB / 0.8226 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.4379, allocations: 47.69 kB / 0.8226 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.4379, allocations: 20.05 kB / 0.8226 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004482/0.4384, allocations: 243.8 kB / 0.8229 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000359/0.4387, allocations: 173 kB / 0.823 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005794/0.4393, allocations: 262.4 kB / 0.8233 GB, free: 4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.4394, allocations: 0 / 0.8233 GB, free: 4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008025/0.4402, allocations: 371.9 kB / 0.8236 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.4402, allocations: 11.94 kB / 0.8237 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.4402, allocations: 4 kB / 0.8237 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.4402, allocations: 144 / 0.8237 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.4406, allocations: 83.81 kB / 0.8237 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4406, allocations: 8.078 kB / 0.8238 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.4411, allocations: 51.78 kB / 0.8238 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.4412, allocations: 12 kB / 0.8238 GB, free: 3.465 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.0003439/0.4415, allocations: 196.3 kB / 0.824 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4416, allocations: 51.38 kB / 0.824 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.4428, allocations: 424.5 kB / 0.8245 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.4428, allocations: 0 / 0.8245 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4428, allocations: 0 / 0.8245 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4429, allocations: 4 kB / 0.8245 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.4446, allocations: 0.9445 MB / 0.8254 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4446, allocations: 0 / 0.8254 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.4448, allocations: 51.89 kB / 0.8254 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.4451, allocations: 52.95 kB / 0.8255 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.4451, allocations: 8 kB / 0.8255 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00041/0.4455, allocations: 0.5562 MB / 0.826 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4456, allocations: 7.875 kB / 0.826 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.4464, allocations: 0.4884 MB / 0.8265 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.4466, allocations: 152.5 kB / 0.8267 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.4467, allocations: 8 kB / 0.8267 GB, free: 376 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.447, allocations: 23.97 kB / 0.8267 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.4471, allocations: 23.91 kB / 0.8267 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.4471, allocations: 11.98 kB / 0.8267 GB, free: 316 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004024/0.4475, allocations: 323 kB / 0.827 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4475, allocations: 0 / 0.827 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009043/0.4484, allocations: 259.5 kB / 0.8273 GB, free: 15.74 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.0006544/0.4491, allocations: 251.8 kB / 0.8275 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.4504, allocations: 472.6 kB / 0.828 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4504, allocations: 4 kB / 0.828 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.4508, allocations: 171.8 kB / 0.8281 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.452, allocations: 225.9 kB / 0.8284 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.4535, allocations: 0.8331 MB / 0.8292 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.4539, allocations: 0.8549 MB / 0.83 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003968/0.4543, allocations: 116 kB / 0.8301 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.4544, allocations: 47.42 kB / 0.8302 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.4544, allocations: 0 / 0.8302 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.01911/0.4735, allocations: 10.13 MB / 0.84 GB, free: 2.773 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)