Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008782/0.0008782, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009638/0.0009639, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8383/0.8383, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 8 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.398/0.5506, allocations: 135.6 MB / 0.7196 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002644/0.5533, allocations: 1.611 MB / 0.7212 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.5536, allocations: 7.969 kB / 0.7212 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.5543, allocations: 184.2 kB / 0.7214 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.5562, allocations: 493.8 kB / 0.7218 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.5577, allocations: 450.5 kB / 0.7223 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006766/0.5584, allocations: 362.8 kB / 0.7226 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.5587, allocations: 137.4 kB / 0.7227 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.5592, allocations: 220.1 kB / 0.723 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.5593, allocations: 101 kB / 0.723 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.5593, allocations: 10.89 kB / 0.7231 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.5601, allocations: 389.2 kB / 0.7234 GB, free: 10 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.5602, allocations: 64.73 kB / 0.7235 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.5602, allocations: 69.97 kB / 0.7236 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.5606, allocations: 286.1 kB / 0.7238 GB, free: 9.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.5607, allocations: 0 / 0.7238 GB, free: 9.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5607, allocations: 5.406 kB / 0.7238 GB, free: 9.855 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.5607, allocations: 0 / 0.7238 GB, free: 9.855 MB / 0.545 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.000742/0.5614, allocations: 0.5191 MB / 0.7243 GB, free: 9.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5615, allocations: 9.938 kB / 0.7244 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.5618, allocations: 63.3 kB / 0.7244 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.5622, allocations: 285.6 kB / 0.7247 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.5622, allocations: 18.52 kB / 0.7247 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.5623, allocations: 13.97 kB / 0.7247 GB, free: 9.105 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.5626, allocations: 192.4 kB / 0.7249 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.5627, allocations: 1.312 kB / 0.7249 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5627, allocations: 5.156 kB / 0.7249 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5627, allocations: 7.344 kB / 0.7249 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.563, allocations: 138.3 kB / 0.725 GB, free: 8.965 MB / 0.545 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.0009369/0.5639, allocations: 0.7734 MB / 0.7258 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.5642, allocations: 107.8 kB / 0.7259 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.5642, allocations: 10.44 kB / 0.7259 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.5643, allocations: 32.08 kB / 0.7259 GB, free: 8.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.5643, allocations: 0 / 0.7259 GB, free: 8.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006421/0.5649, allocations: 234 kB / 0.7262 GB, free: 8.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.5649, allocations: 53.72 kB / 0.7262 GB, free: 8.105 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.5652, allocations: 269 kB / 0.7265 GB, free: 7.953 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.5653, allocations: 31.89 kB / 0.7265 GB, free: 7.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.5653, allocations: 142.6 kB / 0.7266 GB, free: 7.793 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.5654, allocations: 40 kB / 0.7267 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.5654, allocations: 0 / 0.7267 GB, free: 7.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5655, allocations: 334.7 kB / 0.727 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.5657, allocations: 47.09 kB / 0.727 GB, free: 7.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.5658, allocations: 100.5 kB / 0.7271 GB, free: 7.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.566, allocations: 55.19 kB / 0.7272 GB, free: 7.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.566, allocations: 3.953 kB / 0.7272 GB, free: 7.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003071/0.5663, allocations: 161.6 kB / 0.7273 GB, free: 7.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.5664, allocations: 359.9 kB / 0.7277 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5664, allocations: 1.594 kB / 0.7277 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.5664, allocations: 1.594 kB / 0.7277 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5666, allocations: 32.11 kB / 0.7277 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5666, allocations: 3.156 kB / 0.7277 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.5668, allocations: 25.81 kB / 0.7278 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.5668, allocations: 3.797 kB / 0.7278 GB, free: 6.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/0.5668, allocations: 6.312 kB / 0.7278 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002603/0.5671, allocations: 116.7 kB / 0.7279 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5671, allocations: 2.078 kB / 0.7279 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-06/0.5671, allocations: 9.25 kB / 0.7279 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.5672, allocations: 23.28 kB / 0.7279 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.5672, allocations: 1.984 kB / 0.7279 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.5674, allocations: 32.98 kB / 0.7279 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.5674, allocations: 4.828 kB / 0.7279 GB, free: 6.832 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.5675, allocations: 217.8 kB / 0.7282 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.5676, allocations: 22.48 kB / 0.7282 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.5679, allocations: 177.5 kB / 0.7283 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.568, allocations: 1.094 kB / 0.7283 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.568, allocations: 1.922 kB / 0.7283 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.568, allocations: 0.7969 kB / 0.7283 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.5688, allocations: 0.6004 MB / 0.7289 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5688, allocations: 6.281 kB / 0.7289 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.569, allocations: 24.44 kB / 0.729 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.569, allocations: 3.328 kB / 0.729 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.569, allocations: 7.484 kB / 0.729 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.569, allocations: 3.469 kB / 0.729 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.569, allocations: 9.625 kB / 0.729 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.5694, allocations: 388.8 kB / 0.7294 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.5695, allocations: 114.8 kB / 0.7295 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.5696, allocations: 12.16 kB / 0.7295 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.5698, allocations: 17.38 kB / 0.7295 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.5698, allocations: 7.156 kB / 0.7295 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.5698, allocations: 9.234 kB / 0.7295 GB, free: 5.582 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001758/0.57, allocations: 194 kB / 0.7297 GB, free: 5.477 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.262e-06/0.57, allocations: 4 kB / 0.7297 GB, free: 5.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004394/0.5705, allocations: 98.64 kB / 0.7298 GB, free: 5.453 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003362/0.5708, allocations: 160.9 kB / 0.7299 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.5713, allocations: 178 kB / 0.7301 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5713, allocations: 0 / 0.7301 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.5714, allocations: 69.34 kB / 0.7302 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000749/0.5722, allocations: 141.5 kB / 0.7303 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.5729, allocations: 0.4972 MB / 0.7308 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5732, allocations: 0.7635 MB / 0.7315 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.5734, allocations: 67.44 kB / 0.7316 GB, free: 4.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.5735, allocations: 19.91 kB / 0.7316 GB, free: 4.168 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.5735, allocations: 0 / 0.7316 GB, free: 4.168 MB / 0.545 GB Notification: Performance of Templates: time 0.007216/0.5807, allocations: 4.111 MB / 0.7356 GB, free: 3.848 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: