Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001148/0.001148, allocations: 104.5 kB / 15.98 MB, free: 6.328 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.00102/0.00102, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8143/0.8143, allocations: 126.1 MB / 416.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 0.4945 GB, free: 3.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4094, allocations: 78.7 MB / 0.5713 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1755/0.585, allocations: 159.3 MB / 0.7269 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.588, allocations: 1.698 MB / 0.7285 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.5883, allocations: 7.938 kB / 0.7285 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.5888, allocations: 139.2 kB / 0.7287 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.5902, allocations: 490.1 kB / 0.7291 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.5913, allocations: 393.8 kB / 0.7295 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007424/0.592, allocations: 0.5732 MB / 0.7301 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.5923, allocations: 164.5 kB / 0.7302 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005844/0.5929, allocations: 322.7 kB / 0.7305 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.5931, allocations: 167.2 kB / 0.7307 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.5932, allocations: 12 kB / 0.7307 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.5942, allocations: 0.7131 MB / 0.7314 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.5944, allocations: 79.72 kB / 0.7315 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.5945, allocations: 119.3 kB / 0.7316 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.5952, allocations: 0.518 MB / 0.7321 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5952, allocations: 8 kB / 0.7321 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5952, allocations: 0 / 0.7321 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.5952, allocations: 0 / 0.7321 GB, free: 1.793 MB / 0.5606 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.0008156/0.5961, allocations: 0.58 MB / 0.7327 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.5961, allocations: 8.031 kB / 0.7327 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003611/0.5965, allocations: 59.53 kB / 0.7327 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.5968, allocations: 293.3 kB / 0.733 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.5969, allocations: 12 kB / 0.733 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.5969, allocations: 16 kB / 0.733 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.5973, allocations: 192.1 kB / 0.7332 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5973, allocations: 0 / 0.7332 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.5973, allocations: 11.98 kB / 0.7332 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5974, allocations: 0 / 0.7332 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.5977, allocations: 135.8 kB / 0.7334 GB, free: 408 kB / 0.5606 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.001059/0.5988, allocations: 0.7809 MB / 0.7341 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.599, allocations: 82.47 kB / 0.7342 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.5992, allocations: 80.86 kB / 0.7343 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/0.5996, allocations: 190.2 kB / 0.7345 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.5996, allocations: 38.5 kB / 0.7345 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.5996, allocations: 0 / 0.7345 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006681/0.6003, allocations: 209.2 kB / 0.7347 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.6003, allocations: 59.41 kB / 0.7348 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.6006, allocations: 271 kB / 0.735 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.6006, allocations: 29.7 kB / 0.735 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.6007, allocations: 140 kB / 0.7352 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.6008, allocations: 35.78 kB / 0.7352 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.6008, allocations: 33.7 kB / 0.7352 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.601, allocations: 330.8 kB / 0.7356 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.6011, allocations: 48.83 kB / 0.7356 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.6013, allocations: 100.9 kB / 0.7357 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.6016, allocations: 127.3 kB / 0.7358 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6016, allocations: 0 / 0.7358 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000344/0.602, allocations: 157.3 kB / 0.736 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.602, allocations: 13.66 kB / 0.736 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.602, allocations: 0 / 0.736 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.602, allocations: 0 / 0.736 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.6021, allocations: 19.98 kB / 0.736 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6022, allocations: 7.938 kB / 0.736 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.6024, allocations: 23.92 kB / 0.736 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.6024, allocations: 8 kB / 0.736 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002012/0.6026, allocations: 149 kB / 0.7362 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001483/0.6028, allocations: 85.11 kB / 0.7363 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002428/0.603, allocations: 123.3 kB / 0.7364 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.603, allocations: 0 / 0.7364 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003262/0.6034, allocations: 153.4 kB / 0.7365 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/0.6034, allocations: 4 kB / 0.7365 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.6034, allocations: 8.094 kB / 0.7365 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.6034, allocations: 4 kB / 0.7365 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.6035, allocations: 27.92 kB / 0.7366 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.6035, allocations: 3.984 kB / 0.7366 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.6037, allocations: 28.11 kB / 0.7366 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.6037, allocations: 4 kB / 0.7366 GB, free: 12.81 MB / 0.5762 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.0001132/0.6039, allocations: 188.3 kB / 0.7368 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.6039, allocations: 27.66 kB / 0.7368 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.6043, allocations: 163.6 kB / 0.737 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6043, allocations: 0 / 0.737 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6043, allocations: 0 / 0.737 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.6043, allocations: 96 / 0.737 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008894/0.6052, allocations: 0.5936 MB / 0.7375 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.6052, allocations: 4 kB / 0.7376 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.6054, allocations: 24.2 kB / 0.7376 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6054, allocations: 8 kB / 0.7376 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.6054, allocations: 4 kB / 0.7376 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6054, allocations: 0 / 0.7376 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6054, allocations: 11.88 kB / 0.7376 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.6058, allocations: 293.1 kB / 0.7379 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.606, allocations: 116.8 kB / 0.738 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.6061, allocations: 4 kB / 0.738 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.6063, allocations: 15.98 kB / 0.738 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.6063, allocations: 19.92 kB / 0.738 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.6063, allocations: 4 kB / 0.738 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001799/0.6065, allocations: 197.9 kB / 0.7382 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6065, allocations: 0 / 0.7382 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004733/0.607, allocations: 91.84 kB / 0.7383 GB, free: 10.92 MB / 0.5762 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.0004433/0.6075, allocations: 161.5 kB / 0.7385 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.608, allocations: 172 kB / 0.7386 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.608, allocations: 0 / 0.7386 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.6081, allocations: 64.39 kB / 0.7387 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.6089, allocations: 125.5 kB / 0.7388 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.6096, allocations: 0.4931 MB / 0.7393 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.6099, allocations: 0.7597 MB / 0.74 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.6102, allocations: 61.89 kB / 0.7401 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.6102, allocations: 19.44 kB / 0.7401 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6102, allocations: 4 kB / 0.7401 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of Templates: time 0.008918/0.6192, allocations: 4.3 MB / 0.7443 GB, free: 4.781 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)