Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007562/0.0007562, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005405/0.005405, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8709/0.8709, allocations: 135.7 MB / 427.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002766, allocations: 8.875 kB / 0.5081 GB, free: 4.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 82.41 MB / 0.5886 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.3096/0.4525, allocations: 112.6 MB / 0.6985 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03646/0.489, allocations: 26.34 MB / 0.7242 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004243/0.4933, allocations: 99.12 kB / 0.7243 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.4963, allocations: 0.9231 MB / 0.7252 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009377/0.5056, allocations: 3.167 MB / 0.7283 GB, free: 5.062 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005824/0.5115, allocations: 2.082 MB / 0.7303 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01175/0.5232, allocations: 8.146 MB / 0.7383 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.5264, allocations: 1.557 MB / 0.7398 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005348/0.5318, allocations: 2.261 MB / 0.742 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.5351, allocations: 1.71 MB / 0.7437 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006059/0.5357, allocations: 94.84 kB / 0.7438 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00588/0.5416, allocations: 2.132 MB / 0.7459 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000803/0.5425, allocations: 406 kB / 0.7463 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002407/0.5449, allocations: 1.164 MB / 0.7474 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006523/0.5514, allocations: 3.929 MB / 0.7512 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5514, allocations: 0 / 0.7512 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5514, allocations: 3.938 kB / 0.7512 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.931e-05/0.5515, allocations: 0 / 0.7512 GB, free: 4.781 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004833/0.5563, allocations: 2.425 MB / 0.7536 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.5563, allocations: 8.031 kB / 0.7536 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005084/0.5569, allocations: 257 kB / 0.7538 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.5607, allocations: 2.095 MB / 0.7559 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/0.5608, allocations: 102.7 kB / 0.756 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.561, allocations: 136 kB / 0.7561 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.5635, allocations: 1.465 MB / 0.7576 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.5635, allocations: 11.84 kB / 0.7576 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.5636, allocations: 52 kB / 0.7576 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/0.5637, allocations: 43.98 kB / 0.7577 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.5656, allocations: 1.029 MB / 0.7587 GB, free: 12.97 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.008853/0.5744, allocations: 8.132 MB / 0.7666 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.5759, allocations: 0.8439 MB / 0.7674 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.5766, allocations: 381 kB / 0.7678 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002364/0.5789, allocations: 2.811 MB / 0.7705 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.579, allocations: 43.22 kB / 0.7706 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.705e-06/0.579, allocations: 0 / 0.7706 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002208/0.5812, allocations: 1.144 MB / 0.7717 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.5813, allocations: 64 kB / 0.7718 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.5835, allocations: 1.606 MB / 0.7733 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.5835, allocations: 42.47 kB / 0.7734 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008084/0.5844, allocations: 0.9316 MB / 0.7743 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.5847, allocations: 311.5 kB / 0.7746 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.5848, allocations: 89.67 kB / 0.7747 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.585, allocations: 353.9 kB / 0.775 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.5856, allocations: 326.4 kB / 0.7753 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009319/0.5865, allocations: 0.7072 MB / 0.776 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.5881, allocations: 1.101 MB / 0.7771 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.5882, allocations: 4 kB / 0.7771 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002154/0.5903, allocations: 1.257 MB / 0.7783 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003389/0.5907, allocations: 436.7 kB / 0.7787 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/0.5907, allocations: 19.98 kB / 0.7787 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.5907, allocations: 20 kB / 0.7788 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/0.5916, allocations: 263.5 kB / 0.779 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.5916, allocations: 23.88 kB / 0.779 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.5927, allocations: 190.6 kB / 0.7792 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.5928, allocations: 63.97 kB / 0.7793 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.5929, allocations: 4 kB / 0.7793 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001832/0.5947, allocations: 1.062 MB / 0.7803 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.5947, allocations: 19.98 kB / 0.7803 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5948, allocations: 16 kB / 0.7803 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.5955, allocations: 264.1 kB / 0.7806 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.5956, allocations: 27.88 kB / 0.7806 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009844/0.5965, allocations: 170.9 kB / 0.7808 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.5967, allocations: 67.91 kB / 0.7809 GB, free: 4.281 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007705/0.5974, allocations: 468.7 kB / 0.7813 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.5977, allocations: 189.7 kB / 0.7815 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003017/0.6007, allocations: 1.755 MB / 0.7832 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/0.6008, allocations: 23.98 kB / 0.7832 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6008, allocations: 0 / 0.7832 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001755/0.6025, allocations: 1.158 MB / 0.7843 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00519/0.6077, allocations: 3.479 MB / 0.7877 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/0.6078, allocations: 15.98 kB / 0.7878 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.6085, allocations: 203.7 kB / 0.788 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.6085, allocations: 12 kB / 0.788 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/0.6086, allocations: 44.28 kB / 0.788 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.6086, allocations: 12 kB / 0.788 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.6086, allocations: 11.94 kB / 0.788 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.6118, allocations: 2.249 MB / 0.7902 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006979/0.6125, allocations: 481.8 kB / 0.7907 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.6127, allocations: 31.98 kB / 0.7907 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/0.6137, allocations: 95.83 kB / 0.7908 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.6139, allocations: 120.7 kB / 0.7909 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.614, allocations: 59.97 kB / 0.791 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00152/0.6155, allocations: 1.075 MB / 0.792 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6155, allocations: 3.938 kB / 0.792 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002731/0.6182, allocations: 1.135 MB / 0.7931 GB, free: 7.355 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.00138/0.6196, allocations: 0.7791 MB / 0.7939 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.6225, allocations: 1.813 MB / 0.7957 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6225, allocations: 0 / 0.7957 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.6237, allocations: 0.83 MB / 0.7965 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005373/0.6291, allocations: 0.9373 MB / 0.7974 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.635, allocations: 4.46 MB / 0.8018 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.6362, allocations: 1.432 MB / 0.8032 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001889/0.6381, allocations: 0.5421 MB / 0.8037 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.6385, allocations: 187.4 kB / 0.8039 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of SimCode: time 9.11e-07/0.6385, allocations: 4 kB / 0.8039 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.06807/0.7066, allocations: 41.44 MB / 0.8443 GB, free: 3.219 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)