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.001168/0.001169, allocations: 107.4 kB / 17.02 MB, free: 5.66 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.0009808/0.0009809, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.271/1.271, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3915, allocations: 76.15 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1676/0.5591, allocations: 161.5 MB / 0.7153 GB, free: 2.512 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.5617, allocations: 1.708 MB / 0.7169 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.5619, allocations: 15.94 kB / 0.7169 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.5624, allocations: 159 kB / 0.7171 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.5636, allocations: 0.5055 MB / 0.7176 GB, free: 124 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.5645, allocations: 422.3 kB / 0.718 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006441/0.5651, allocations: 0.5732 MB / 0.7186 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.5654, allocations: 180.5 kB / 0.7187 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.5659, allocations: 318.7 kB / 0.719 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.5661, allocations: 155.2 kB / 0.7192 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.5662, allocations: 12 kB / 0.7192 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00093/0.5671, allocations: 0.6938 MB / 0.7199 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.5672, allocations: 87.64 kB / 0.72 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.5673, allocations: 111.4 kB / 0.7201 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.5679, allocations: 0.5062 MB / 0.7206 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5679, allocations: 0 / 0.7206 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.568, allocations: 0 / 0.7206 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.568, allocations: 0 / 0.7206 GB, free: 13.09 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.0007464/0.5687, allocations: 0.58 MB / 0.7211 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5688, allocations: 12.03 kB / 0.7211 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.5691, allocations: 51.69 kB / 0.7212 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.5695, allocations: 313.2 kB / 0.7215 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.5695, allocations: 15.94 kB / 0.7215 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.5696, allocations: 12 kB / 0.7215 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.5699, allocations: 188.2 kB / 0.7217 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.5699, allocations: 3.938 kB / 0.7217 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.5699, allocations: 12 kB / 0.7217 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5699, allocations: 4 kB / 0.7217 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.5702, allocations: 127.8 kB / 0.7218 GB, free: 11.68 MB / 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.0009179/0.5711, allocations: 0.7769 MB / 0.7226 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.5714, allocations: 82.53 kB / 0.7227 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.5715, allocations: 80.86 kB / 0.7227 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.5718, allocations: 190.1 kB / 0.7229 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.5718, allocations: 34.56 kB / 0.723 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.555e-06/0.5718, allocations: 3.984 kB / 0.723 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005881/0.5724, allocations: 221.2 kB / 0.7232 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.5725, allocations: 55.41 kB / 0.7232 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.5727, allocations: 271 kB / 0.7235 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.5727, allocations: 25.7 kB / 0.7235 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.5728, allocations: 144 kB / 0.7236 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.5728, allocations: 35.83 kB / 0.7237 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.5729, allocations: 33.72 kB / 0.7237 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.573, allocations: 330.8 kB / 0.724 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.5731, allocations: 48.83 kB / 0.7241 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.5733, allocations: 96.97 kB / 0.7242 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.5735, allocations: 119.4 kB / 0.7243 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5735, allocations: 0 / 0.7243 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002952/0.5738, allocations: 157.2 kB / 0.7244 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5739, allocations: 8 kB / 0.7244 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5739, allocations: 32 / 0.7244 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.5739, allocations: 7.938 kB / 0.7244 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.574, allocations: 23.98 kB / 0.7245 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.574, allocations: 4 kB / 0.7245 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.5742, allocations: 11.98 kB / 0.7245 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.5742, allocations: 7.984 kB / 0.7245 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001826/0.5744, allocations: 152.7 kB / 0.7246 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001403/0.5745, allocations: 89.11 kB / 0.7247 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002076/0.5747, allocations: 127.4 kB / 0.7248 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.5748, allocations: 3.938 kB / 0.7248 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002785/0.575, allocations: 149.3 kB / 0.725 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.5751, allocations: 11.98 kB / 0.725 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/0.5751, allocations: 0 / 0.725 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-06/0.5751, allocations: 0 / 0.725 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5752, allocations: 35.86 kB / 0.725 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-06/0.5752, allocations: 0 / 0.725 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.5753, allocations: 15.92 kB / 0.725 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.5753, allocations: 4 kB / 0.7251 GB, free: 8.117 MB / 0.5606 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 8.897e-05/0.5754, allocations: 188.3 kB / 0.7252 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.5755, allocations: 23.72 kB / 0.7253 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.5758, allocations: 167.6 kB / 0.7254 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5758, allocations: 4.125 kB / 0.7254 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5758, allocations: 4 kB / 0.7254 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5759, allocations: 4.078 kB / 0.7254 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/0.5766, allocations: 0.5897 MB / 0.726 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5767, allocations: 4.219 kB / 0.726 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.5768, allocations: 27.92 kB / 0.726 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5768, allocations: 0 / 0.726 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.5768, allocations: 4 kB / 0.726 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5768, allocations: 4 kB / 0.726 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5768, allocations: 0 / 0.726 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.5771, allocations: 301 kB / 0.7263 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.5772, allocations: 116.8 kB / 0.7264 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.5773, allocations: 4 kB / 0.7264 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.5775, allocations: 15.97 kB / 0.7265 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.5775, allocations: 15.94 kB / 0.7265 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.5775, allocations: 4 kB / 0.7265 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001611/0.5777, allocations: 197.9 kB / 0.7267 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5777, allocations: 0 / 0.7267 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004063/0.5781, allocations: 91.84 kB / 0.7268 GB, free: 6.223 MB / 0.5606 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.0003317/0.5784, allocations: 182.3 kB / 0.7269 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.5789, allocations: 167.7 kB / 0.7271 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5789, allocations: 0 / 0.7271 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.579, allocations: 64.39 kB / 0.7271 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.5796, allocations: 124.2 kB / 0.7273 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.5802, allocations: 437 kB / 0.7277 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5805, allocations: 0.7558 MB / 0.7284 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.5807, allocations: 70.53 kB / 0.7285 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.5808, allocations: 19.44 kB / 0.7285 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5808, allocations: 0 / 0.7285 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of Templates: time 0.007738/0.5885, allocations: 4.366 MB / 0.7328 GB, free: 76 kB / 0.5606 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)