Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002239/0.002239, allocations: 193.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 222.9 MB / 239.8 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001898, allocations: 68.11 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3099, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1734/0.4833, allocations: 159.3 MB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.4869, allocations: 1.723 MB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.4874, allocations: 11.94 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.4881, allocations: 139.2 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.4896, allocations: 482.1 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.4908, allocations: 386.1 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009898/0.4918, allocations: 0.7565 MB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.4922, allocations: 156.5 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/0.4929, allocations: 290.8 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.4932, allocations: 163.3 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.4932, allocations: 12 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.4944, allocations: 0.7716 MB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.4946, allocations: 83.64 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.4947, allocations: 107.4 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008419/0.4956, allocations: 0.5102 MB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4956, allocations: 0 / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4956, allocations: 0 / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4956, allocations: 0 / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009144/0.4965, allocations: 0.5878 MB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4966, allocations: 8.031 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003855/0.497, allocations: 59.67 kB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.4974, allocations: 293.2 kB / 1.229 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4974, allocations: 8 kB / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.4975, allocations: 16 kB / 1.229 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.4979, allocations: 200.6 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.498, allocations: 4 kB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.498, allocations: 4 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.498, allocations: 7.938 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.4984, allocations: 127.8 kB / 1.23 GB, free: 4.078 MB / 0.9825 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.001159/0.4995, allocations: 0.7847 MB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.4998, allocations: 90.53 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.5, allocations: 76.8 kB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004069/0.5004, allocations: 182.2 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.5005, allocations: 30.56 kB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.5005, allocations: 4 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0007336/0.5012, allocations: 225.2 kB / 1.231 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.5013, allocations: 51.41 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.5015, allocations: 267 kB / 1.231 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.5015, allocations: 29.7 kB / 1.231 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.5017, allocations: 144 kB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.5017, allocations: 39.45 kB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.5018, allocations: 25.72 kB / 1.232 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5019, allocations: 338.8 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.502, allocations: 48.77 kB / 1.232 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.5022, allocations: 97.09 kB / 1.232 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.5025, allocations: 119.3 kB / 1.232 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5025, allocations: 0 / 1.232 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000357/0.5029, allocations: 161.4 kB / 1.232 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5029, allocations: 9.906 kB / 1.232 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5029, allocations: 4 kB / 1.232 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.5029, allocations: 3.938 kB / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.503, allocations: 27.86 kB / 1.232 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5031, allocations: 4.562 kB / 1.232 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.5033, allocations: 19.91 kB / 1.232 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.5033, allocations: 8 kB / 1.232 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002028/0.5035, allocations: 148.1 kB / 1.233 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001584/0.5037, allocations: 93.05 kB / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000246/0.5039, allocations: 123.3 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.5039, allocations: 0 / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003267/0.5043, allocations: 153.3 kB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5043, allocations: 8 kB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.5043, allocations: 3.938 kB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-06/0.5043, allocations: 0 / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.5044, allocations: 27.92 kB / 1.233 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.5045, allocations: 0 / 1.233 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.5046, allocations: 19.92 kB / 1.233 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.5047, allocations: 4 kB / 1.233 GB, free: 0.4961 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.5048, allocations: 184.3 kB / 1.233 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.5048, allocations: 23.92 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.5052, allocations: 167.1 kB / 1.233 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5052, allocations: 12 kB / 1.233 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5053, allocations: 0 / 1.233 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5053, allocations: 0 / 1.233 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.5062, allocations: 0.5937 MB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5062, allocations: 192 / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.5063, allocations: 23.98 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5063, allocations: 0 / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.5063, allocations: 7.984 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.5064, allocations: 7.984 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5064, allocations: 3.938 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.5068, allocations: 301.3 kB / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.5069, allocations: 112.8 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.5069, allocations: 4.375 kB / 1.234 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.5072, allocations: 15.98 kB / 1.234 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.5072, allocations: 11.92 kB / 1.234 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.5072, allocations: 8 kB / 1.234 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001899/0.5074, allocations: 205.8 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5075, allocations: 3.938 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004863/0.5079, allocations: 99.83 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004112/0.5084, allocations: 158.3 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.5089, allocations: 163.8 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5089, allocations: 0 / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.5091, allocations: 67.83 kB / 1.235 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.5099, allocations: 133.1 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.5108, allocations: 498.9 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.5111, allocations: 0.756 MB / 1.236 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000247/0.5114, allocations: 66.23 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.5115, allocations: 19.44 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.5115, allocations: 0 / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.01022/0.5217, allocations: 4.273 MB / 1.241 GB, free: 8.465 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)