Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7317/0.7317, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 403.4 MB, free: 7.086 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009846/0.0009845, allocations: 110.8 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009994/0.0009994, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1549, allocations: 80.2 MB / 0.6402 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.4856/0.6405, allocations: 159.3 MB / 0.7957 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.6433, allocations: 1.735 MB / 0.7974 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.6436, allocations: 7.938 kB / 0.7974 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.6442, allocations: 131.2 kB / 0.7975 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.6454, allocations: 490.8 kB / 0.798 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.6464, allocations: 377 kB / 0.7983 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008409/0.6473, allocations: 0.7643 MB / 0.7991 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.6476, allocations: 152.5 kB / 0.7992 GB, free: 364 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.6481, allocations: 298.7 kB / 0.7995 GB, free: 64 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.6483, allocations: 159.3 kB / 0.7997 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.6484, allocations: 15.98 kB / 0.7997 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.6494, allocations: 0.7678 MB / 0.8004 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.246e-05/0.6495, allocations: 83.66 kB / 0.8005 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.6496, allocations: 107.4 kB / 0.8006 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0006899/0.6503, allocations: 0.5101 MB / 0.8011 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6504, allocations: 0 / 0.8011 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6504, allocations: 0 / 0.8011 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.6504, allocations: 0 / 0.8011 GB, free: 14.42 MB / 0.5417 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.0008255/0.6512, allocations: 0.582 MB / 0.8017 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.6512, allocations: 12.03 kB / 0.8017 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.6516, allocations: 63.56 kB / 0.8018 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.6519, allocations: 293.2 kB / 0.802 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.652, allocations: 12 kB / 0.802 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.652, allocations: 12 kB / 0.8021 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.6523, allocations: 197.2 kB / 0.8022 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.6524, allocations: 4 kB / 0.8023 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.6524, allocations: 4 kB / 0.8023 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.6524, allocations: 4 kB / 0.8023 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.6527, allocations: 135.8 kB / 0.8024 GB, free: 13.02 MB / 0.5417 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.0009844/0.6537, allocations: 0.7731 MB / 0.8031 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.6539, allocations: 86.47 kB / 0.8032 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.6541, allocations: 80.86 kB / 0.8033 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003701/0.6545, allocations: 186.2 kB / 0.8035 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.6545, allocations: 34.56 kB / 0.8035 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.6545, allocations: 0 / 0.8035 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.000645/0.6552, allocations: 225.2 kB / 0.8037 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.6552, allocations: 55.41 kB / 0.8038 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.6555, allocations: 263 kB / 0.804 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.6555, allocations: 33.7 kB / 0.8041 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6557, allocations: 147.7 kB / 0.8042 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.6557, allocations: 35.48 kB / 0.8042 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.6558, allocations: 29.72 kB / 0.8043 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6559, allocations: 334.8 kB / 0.8046 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.6561, allocations: 48.77 kB / 0.8046 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.6562, allocations: 93.92 kB / 0.8047 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.6565, allocations: 119.3 kB / 0.8048 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6565, allocations: 0.5625 kB / 0.8048 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003357/0.6568, allocations: 157.3 kB / 0.805 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6568, allocations: 11.97 kB / 0.805 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6569, allocations: 7.938 kB / 0.805 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.6569, allocations: 0 / 0.805 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.657, allocations: 27.86 kB / 0.805 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.657, allocations: 7.938 kB / 0.805 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.6572, allocations: 19.89 kB / 0.8051 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.6572, allocations: 7.984 kB / 0.8051 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001946/0.6574, allocations: 152.1 kB / 0.8052 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001575/0.6576, allocations: 85.11 kB / 0.8053 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002428/0.6578, allocations: 123.4 kB / 0.8054 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-06/0.6579, allocations: 4 kB / 0.8054 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003095/0.6582, allocations: 157.2 kB / 0.8056 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.6582, allocations: 9.234 kB / 0.8056 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-06/0.6582, allocations: 0 / 0.8056 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-06/0.6582, allocations: 7.938 kB / 0.8056 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.6583, allocations: 19.98 kB / 0.8056 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/0.6583, allocations: 0 / 0.8056 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.6585, allocations: 27.95 kB / 0.8056 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.6585, allocations: 4 kB / 0.8056 GB, free: 9.438 MB / 0.5417 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 9.399e-05/0.6586, allocations: 189.5 kB / 0.8058 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.6587, allocations: 19.72 kB / 0.8058 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/0.659, allocations: 163.3 kB / 0.806 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.659, allocations: 4 kB / 0.806 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6591, allocations: 0 / 0.806 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6591, allocations: 7.922 kB / 0.806 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008213/0.6599, allocations: 0.5821 MB / 0.8066 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6599, allocations: 4 kB / 0.8066 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.66, allocations: 19.98 kB / 0.8066 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.66, allocations: 4 kB / 0.8066 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.66, allocations: 4 kB / 0.8066 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.6601, allocations: 7.938 kB / 0.8066 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6601, allocations: 4 kB / 0.8066 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.6608, allocations: 0.9366 MB / 0.8075 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.6609, allocations: 116.8 kB / 0.8076 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.6609, allocations: 7.922 kB / 0.8076 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.6611, allocations: 19.92 kB / 0.8077 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.6612, allocations: 15.98 kB / 0.8077 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.6612, allocations: 5.5 kB / 0.8077 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001577/0.6614, allocations: 194 kB / 0.8079 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.6614, allocations: 0 / 0.8079 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006169/0.662, allocations: 95.84 kB / 0.808 GB, free: 6.875 MB / 0.5417 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.0003181/0.6623, allocations: 164.5 kB / 0.8081 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.6627, allocations: 167.8 kB / 0.8083 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6628, allocations: 0 / 0.8083 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.6629, allocations: 59.89 kB / 0.8083 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.6637, allocations: 133.2 kB / 0.8085 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.6644, allocations: 0.6305 MB / 0.8091 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.6647, allocations: 0.7599 MB / 0.8098 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.6649, allocations: 69.61 kB / 0.8099 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.665, allocations: 27.44 kB / 0.8099 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of SimCode: time 1.262e-06/0.665, allocations: 0 / 0.8099 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of Templates: time 0.007335/0.6724, allocations: 4.366 MB / 0.8142 GB, free: 488 kB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)