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.001125/0.001125, allocations: 114.3 kB / 16.37 MB, free: 6 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.001126/0.001126, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8076/0.8076, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001344, allocations: 63.91 kB / 0.5068 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4081, allocations: 80.91 MB / 0.5858 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1923/0.6004, allocations: 161.5 MB / 0.7435 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.604, allocations: 1.702 MB / 0.7452 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007114/0.6048, allocations: 11.88 kB / 0.7452 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.6055, allocations: 167 kB / 0.7453 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.6072, allocations: 0.5017 MB / 0.7458 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.6087, allocations: 419 kB / 0.7462 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008712/0.6095, allocations: 0.5654 MB / 0.7468 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.6099, allocations: 180.5 kB / 0.7469 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006335/0.6105, allocations: 322.8 kB / 0.7472 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.6107, allocations: 151.2 kB / 0.7474 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.6108, allocations: 16 kB / 0.7474 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.6121, allocations: 0.6937 MB / 0.7481 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.6122, allocations: 71.8 kB / 0.7482 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.6124, allocations: 119.3 kB / 0.7483 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008366/0.6132, allocations: 0.4945 MB / 0.7487 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.6132, allocations: 7.938 kB / 0.7488 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6132, allocations: 0 / 0.7488 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.6133, allocations: 0 / 0.7488 GB, free: 3.094 MB / 0.5762 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.0009736/0.6142, allocations: 0.5877 MB / 0.7493 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.6143, allocations: 9.109 kB / 0.7493 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.6147, allocations: 67.52 kB / 0.7494 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.6152, allocations: 305.3 kB / 0.7497 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.6152, allocations: 8 kB / 0.7497 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.6152, allocations: 19.98 kB / 0.7497 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.6156, allocations: 201.5 kB / 0.7499 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6156, allocations: 0 / 0.7499 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.6157, allocations: 4 kB / 0.7499 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.6157, allocations: 4 kB / 0.7499 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.616, allocations: 132.7 kB / 0.75 GB, free: 1.668 MB / 0.5762 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.001081/0.6171, allocations: 0.7809 MB / 0.7508 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.6173, allocations: 82.59 kB / 0.7509 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.6175, allocations: 72.81 kB / 0.751 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.6178, allocations: 190.2 kB / 0.7511 GB, free: 440 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.6178, allocations: 34.5 kB / 0.7512 GB, free: 396 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.6178, allocations: 0 / 0.7512 GB, free: 396 kB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006286/0.6184, allocations: 221.2 kB / 0.7514 GB, free: 168 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6185, allocations: 55.39 kB / 0.7514 GB, free: 100 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2711/0.8896, allocations: 267.1 kB / 0.7517 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.8897, allocations: 29.22 kB / 0.7517 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.8898, allocations: 146.6 kB / 0.7519 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.8899, allocations: 31.75 kB / 0.7519 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.8899, allocations: 30.14 kB / 0.7519 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.89, allocations: 334.6 kB / 0.7522 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.8902, allocations: 45.09 kB / 0.7523 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.8904, allocations: 96.09 kB / 0.7524 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.8907, allocations: 120.5 kB / 0.7525 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8907, allocations: 0.8125 kB / 0.7525 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003629/0.8911, allocations: 156.2 kB / 0.7526 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.8911, allocations: 7.656 kB / 0.7526 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.8911, allocations: 5.562 kB / 0.7526 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8911, allocations: 5.469 kB / 0.7527 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.8913, allocations: 21.34 kB / 0.7527 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8913, allocations: 5.141 kB / 0.7527 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.8915, allocations: 24.33 kB / 0.7527 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.8915, allocations: 9.328 kB / 0.7527 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001725/0.8917, allocations: 148.9 kB / 0.7529 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001436/0.8918, allocations: 90.77 kB / 0.7529 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000239/0.8921, allocations: 119.1 kB / 0.7531 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.8921, allocations: 3.812 kB / 0.7531 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003161/0.8924, allocations: 156 kB / 0.7532 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.8924, allocations: 6.641 kB / 0.7532 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.8924, allocations: 0 / 0.7532 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.8925, allocations: 2.719 kB / 0.7532 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.8926, allocations: 24.98 kB / 0.7532 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.8926, allocations: 1.766 kB / 0.7532 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.8927, allocations: 16.36 kB / 0.7533 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.8928, allocations: 10.16 kB / 0.7533 GB, free: 166.4 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 7.893e-05/0.8929, allocations: 189.5 kB / 0.7534 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.8929, allocations: 25.62 kB / 0.7535 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.8933, allocations: 161.2 kB / 0.7536 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.8933, allocations: 9.344 kB / 0.7536 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8933, allocations: 0 / 0.7536 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8933, allocations: 2.906 kB / 0.7536 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009448/0.8943, allocations: 0.5898 MB / 0.7542 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.8943, allocations: 3.406 kB / 0.7542 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.8944, allocations: 25.7 kB / 0.7542 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.8944, allocations: 3.625 kB / 0.7542 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.8945, allocations: 7.719 kB / 0.7543 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.8945, allocations: 3.703 kB / 0.7543 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8945, allocations: 4.641 kB / 0.7543 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.8949, allocations: 293.2 kB / 0.7545 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.895, allocations: 113.1 kB / 0.7546 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.895, allocations: 8.297 kB / 0.7547 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.8952, allocations: 12 kB / 0.7547 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.8953, allocations: 16.33 kB / 0.7547 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.8953, allocations: 9.969 kB / 0.7547 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001953/0.8955, allocations: 197.2 kB / 0.7549 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8955, allocations: 0.6875 kB / 0.7549 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004992/0.896, allocations: 97.53 kB / 0.755 GB, free: 165.2 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.0004082/0.8964, allocations: 167.4 kB / 0.7551 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.8969, allocations: 168.8 kB / 0.7553 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8969, allocations: 0 / 0.7553 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.8971, allocations: 63.84 kB / 0.7554 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.8979, allocations: 119.3 kB / 0.7555 GB, free: 165 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.8986, allocations: 438.8 kB / 0.7559 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.8989, allocations: 0.7603 MB / 0.7566 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.8991, allocations: 65.38 kB / 0.7567 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.8991, allocations: 25.08 kB / 0.7567 GB, free: 164 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.8991, allocations: 0 / 0.7567 GB, free: 164 MB / 0.5762 GB Notification: Performance of Templates: time 0.009509/0.9086, allocations: 4.392 MB / 0.761 GB, free: 162.4 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)