Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001047/0.001047, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005979/0.005979, allocations: 169.8 kB / 16.27 MB, free: 6.344 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 10.16 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2953, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1781/0.4734, allocations: 157.2 MB / 1.228 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003446/0.4769, allocations: 1.701 MB / 1.229 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.4772, allocations: 7.938 kB / 1.229 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.4778, allocations: 135.2 kB / 1.229 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.479, allocations: 486 kB / 1.23 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009087/0.4799, allocations: 378.7 kB / 1.23 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009028/0.4808, allocations: 0.7526 MB / 1.231 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.4811, allocations: 160.4 kB / 1.231 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006203/0.4818, allocations: 286.8 kB / 1.231 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.482, allocations: 163.3 kB / 1.232 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.482, allocations: 12 kB / 1.232 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.4832, allocations: 0.7716 MB / 1.232 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.4833, allocations: 71.73 kB / 1.232 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.4834, allocations: 145 kB / 1.233 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006887/0.4841, allocations: 0.5023 MB / 1.233 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4842, allocations: 0 / 1.233 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4842, allocations: 0 / 1.233 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.4842, allocations: 0 / 1.233 GB, free: 4.223 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.0007981/0.485, allocations: 0.5411 MB / 1.234 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.485, allocations: 15.97 kB / 1.234 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003436/0.4854, allocations: 55.67 kB / 1.234 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.4858, allocations: 281.3 kB / 1.234 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.4858, allocations: 12 kB / 1.234 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.4858, allocations: 16 kB / 1.234 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.4862, allocations: 204.6 kB / 1.234 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.4863, allocations: 0 / 1.234 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.4863, allocations: 4 kB / 1.234 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.4863, allocations: 4 kB / 1.234 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.4866, allocations: 147.8 kB / 1.234 GB, free: 2.848 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.001065/0.4877, allocations: 0.7885 MB / 1.235 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.488, allocations: 90.53 kB / 1.235 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.4882, allocations: 80.81 kB / 1.235 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003332/0.4885, allocations: 190.2 kB / 1.235 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4885, allocations: 34.56 kB / 1.235 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.4885, allocations: 4 kB / 1.235 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006822/0.4892, allocations: 241.2 kB / 1.236 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.4893, allocations: 51.41 kB / 1.236 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.4896, allocations: 267 kB / 1.236 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4896, allocations: 30.08 kB / 1.236 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4897, allocations: 148 kB / 1.236 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.4898, allocations: 35.45 kB / 1.236 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.4898, allocations: 9.719 kB / 1.236 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4899, allocations: 342.8 kB / 1.237 GB, free: 392 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4901, allocations: 43.97 kB / 1.237 GB, free: 348 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.4902, allocations: 97.05 kB / 1.237 GB, free: 232 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.4905, allocations: 135.3 kB / 1.237 GB, free: 84 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4905, allocations: 4 kB / 1.237 GB, free: 80 kB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003639/0.4909, allocations: 165.4 kB / 1.237 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.764e-05/0.491, allocations: 115.5 kB / 1.237 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.491, allocations: 4.031 kB / 1.237 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.491, allocations: 0 / 1.237 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4911, allocations: 28.05 kB / 1.237 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4912, allocations: 3.938 kB / 1.237 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.4914, allocations: 31.77 kB / 1.237 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.4914, allocations: 11.98 kB / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.4914, allocations: 9.406 kB / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002933/0.4917, allocations: 112.1 kB / 1.237 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.4917, allocations: 0 / 1.237 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/0.4917, allocations: 4.047 kB / 1.237 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.4918, allocations: 31.94 kB / 1.237 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.4919, allocations: 4 kB / 1.237 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.492, allocations: 27.77 kB / 1.237 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.4921, allocations: 7.984 kB / 1.237 GB, free: 15.51 MB / 0.9981 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.0001869/0.4922, allocations: 217.1 kB / 1.238 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.4923, allocations: 23.72 kB / 1.238 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.4927, allocations: 167.3 kB / 1.238 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4927, allocations: 4 kB / 1.238 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4927, allocations: 3.938 kB / 1.238 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4928, allocations: 0 / 1.238 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.4937, allocations: 0.6016 MB / 1.238 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4937, allocations: 4 kB / 1.238 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.4938, allocations: 31.91 kB / 1.238 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4938, allocations: 288 / 1.238 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.4939, allocations: 8 kB / 1.238 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4939, allocations: 4 kB / 1.238 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4939, allocations: 3.938 kB / 1.238 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.4943, allocations: 309.2 kB / 1.239 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4945, allocations: 120.7 kB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.4945, allocations: 4 kB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.4947, allocations: 19.98 kB / 1.239 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.4948, allocations: 11.92 kB / 1.239 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4948, allocations: 12 kB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002155/0.495, allocations: 197.9 kB / 1.239 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.495, allocations: 0 / 1.239 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005058/0.4955, allocations: 91.84 kB / 1.239 GB, free: 13.55 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.0005199/0.4961, allocations: 182 kB / 1.239 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005532/0.4966, allocations: 171.8 kB / 1.239 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.4967, allocations: 4.125 kB / 1.239 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.4968, allocations: 67.89 kB / 1.239 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.4978, allocations: 131.6 kB / 1.24 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/0.4987, allocations: 0.5109 MB / 1.24 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.4992, allocations: 0.756 MB / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002173/0.4994, allocations: 66.89 kB / 1.241 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.4994, allocations: 19.44 kB / 1.241 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.4994, allocations: 0 / 1.241 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of Templates: time 0.009742/0.5092, allocations: 4.253 MB / 1.245 GB, free: 7.395 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)