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.001274/0.001274, allocations: 108 kB / 15.61 MB, free: 152 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.00139/0.00139, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001476, allocations: 60.56 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3189, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1736/0.4926, allocations: 161.5 MB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.4957, allocations: 1.711 MB / 1.228 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.496, allocations: 11.94 kB / 1.228 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000602/0.4966, allocations: 154.9 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.498, allocations: 0.5133 MB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.4991, allocations: 416.9 kB / 1.229 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007299/0.4999, allocations: 0.5654 MB / 1.229 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.5002, allocations: 180.3 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007295/0.5009, allocations: 322.7 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.5012, allocations: 147.3 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.5012, allocations: 16 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.5024, allocations: 0.6937 MB / 1.231 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.5025, allocations: 75.73 kB / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.5026, allocations: 123.3 kB / 1.231 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007132/0.5033, allocations: 498.6 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5034, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5034, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5034, allocations: 4 kB / 1.231 GB, free: 2.883 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.000924/0.5043, allocations: 0.5798 MB / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5044, allocations: 12.03 kB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/0.5047, allocations: 59.61 kB / 1.232 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.5051, allocations: 281.3 kB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.5051, allocations: 12 kB / 1.232 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.5051, allocations: 19.94 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.5055, allocations: 188.1 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5055, allocations: 4 kB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.5055, allocations: 4 kB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.5056, allocations: 4 kB / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.5059, allocations: 131.8 kB / 1.232 GB, free: 1.492 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.0009984/0.5069, allocations: 0.7925 MB / 1.233 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.5072, allocations: 86.47 kB / 1.233 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.5073, allocations: 76.86 kB / 1.233 GB, free: 468 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/0.5077, allocations: 182.2 kB / 1.234 GB, free: 248 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.5078, allocations: 34.56 kB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.5078, allocations: 4 kB / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0007035/0.5085, allocations: 217.2 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.5086, allocations: 55.41 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.5088, allocations: 271 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.5089, allocations: 29.7 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.509, allocations: 144 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.509, allocations: 35.45 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.5091, allocations: 29.66 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5092, allocations: 334.8 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.5094, allocations: 48.83 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.5095, allocations: 93.47 kB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.5098, allocations: 123.3 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5098, allocations: 0 / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003253/0.5101, allocations: 157.6 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5102, allocations: 5.562 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5102, allocations: 11.88 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5102, allocations: 3.938 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.5103, allocations: 27.92 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5104, allocations: 4 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.5105, allocations: 20.02 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.5106, allocations: 11.98 kB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001846/0.5108, allocations: 144.8 kB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001527/0.5109, allocations: 89.11 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000233/0.5112, allocations: 123.3 kB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.5112, allocations: 0 / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003117/0.5115, allocations: 157.2 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.5115, allocations: 4 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.5115, allocations: 4 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.5115, allocations: 4.031 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.5116, allocations: 27.92 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.5116, allocations: 4 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.5118, allocations: 11.98 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.5118, allocations: 4 kB / 1.236 GB, free: 13.91 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.0001001/0.5119, allocations: 188.2 kB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.512, allocations: 23.72 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.5124, allocations: 163.3 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5124, allocations: 3.938 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5124, allocations: 0 / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.5124, allocations: 3.984 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/0.5132, allocations: 0.5936 MB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5133, allocations: 4.188 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5134, allocations: 19.98 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5134, allocations: 4 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.5134, allocations: 8.203 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5134, allocations: 7.938 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5134, allocations: 4.281 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.5138, allocations: 301 kB / 1.237 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.5139, allocations: 108.8 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.514, allocations: 4 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.5141, allocations: 15.97 kB / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.5142, allocations: 23.81 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.5142, allocations: 8 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001713/0.5144, allocations: 197.9 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5144, allocations: 0 / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004531/0.5149, allocations: 91.84 kB / 1.237 GB, free: 12.02 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.0003748/0.5152, allocations: 167.9 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.5157, allocations: 171.7 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5157, allocations: 0 / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.5159, allocations: 59.89 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.5166, allocations: 121.2 kB / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006739/0.5173, allocations: 437.2 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5176, allocations: 0.7557 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.5178, allocations: 65.89 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.5179, allocations: 19.44 kB / 1.239 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.5179, allocations: 0 / 1.239 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.008565/0.5265, allocations: 4.401 MB / 1.243 GB, free: 5.84 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)