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.001689/0.001689, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002149/0.002149, allocations: 189.8 kB / 16.25 MB, free: 6.633 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9964/0.9964, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 77.56 kB / 0.5054 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1655, allocations: 81.01 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.3457/0.5113, allocations: 114.1 MB / 0.696 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04195/0.5533, allocations: 26.34 MB / 0.7217 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005265/0.5586, allocations: 104.5 kB / 0.7218 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.5622, allocations: 0.9802 MB / 0.7227 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.5724, allocations: 3.178 MB / 0.7258 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006784/0.5792, allocations: 2.145 MB / 0.7279 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01069/0.5899, allocations: 6.198 MB / 0.734 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/0.5934, allocations: 1.903 MB / 0.7358 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00733/0.6008, allocations: 2.663 MB / 0.7384 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003685/0.6045, allocations: 1.816 MB / 0.7402 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005836/0.6051, allocations: 221 kB / 0.7404 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00621/0.6113, allocations: 2.369 MB / 0.7427 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007288/0.612, allocations: 0.5487 MB / 0.7433 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.6145, allocations: 1.283 MB / 0.7445 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007612/0.6221, allocations: 4.086 MB / 0.7485 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6221, allocations: 3.938 kB / 0.7485 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6221, allocations: 4 kB / 0.7485 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.273e-05/0.6222, allocations: 0 / 0.7485 GB, free: 5.75 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.005705/0.6279, allocations: 2.83 MB / 0.7513 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6279, allocations: 8.031 kB / 0.7513 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006692/0.6286, allocations: 257.1 kB / 0.7515 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/0.6327, allocations: 2.103 MB / 0.7536 GB, free: 456 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.943e-05/0.6328, allocations: 102.7 kB / 0.7537 GB, free: 352 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.633, allocations: 136 kB / 0.7538 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.6356, allocations: 1.458 MB / 0.7552 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.6357, allocations: 4 kB / 0.7553 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.6358, allocations: 60 kB / 0.7553 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.6359, allocations: 32 kB / 0.7553 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.6378, allocations: 1.029 MB / 0.7563 GB, free: 13.55 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.00973/0.6475, allocations: 8.12 MB / 0.7643 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.6491, allocations: 0.8363 MB / 0.7651 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.6498, allocations: 373 kB / 0.7654 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00249/0.6523, allocations: 2.811 MB / 0.7682 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.6523, allocations: 43.92 kB / 0.7682 GB, free: 12 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 6.142e-06/0.6523, allocations: 3.984 kB / 0.7682 GB, free: 8 kB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002375/0.6547, allocations: 1.128 MB / 0.7693 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.6548, allocations: 64 kB / 0.7694 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.657, allocations: 1.606 MB / 0.771 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.6571, allocations: 41.7 kB / 0.771 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007953/0.6579, allocations: 0.9276 MB / 0.7719 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.6582, allocations: 307.6 kB / 0.7722 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.6586, allocations: 238.6 kB / 0.7724 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.6587, allocations: 345.9 kB / 0.7728 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/0.6594, allocations: 329.9 kB / 0.7731 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009776/0.6603, allocations: 0.7143 MB / 0.7738 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.662, allocations: 1.081 MB / 0.7748 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.662, allocations: 4 kB / 0.7748 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002377/0.6644, allocations: 1.249 MB / 0.7761 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.6645, allocations: 11.94 kB / 0.7761 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/0.6645, allocations: 19.98 kB / 0.7761 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.6645, allocations: 16 kB / 0.7761 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.6653, allocations: 264 kB / 0.7764 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/0.6654, allocations: 27.88 kB / 0.7764 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.6668, allocations: 182.6 kB / 0.7766 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.6669, allocations: 67.97 kB / 0.7766 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001178/0.6681, allocations: 0.6197 MB / 0.7772 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009587/0.6691, allocations: 0.7071 MB / 0.7779 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001658/0.6708, allocations: 1.073 MB / 0.779 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.913e-06/0.6708, allocations: 4 kB / 0.779 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002261/0.673, allocations: 1.249 MB / 0.7802 GB, free: 3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.6731, allocations: 12 kB / 0.7802 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.6731, allocations: 12 kB / 0.7802 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.6731, allocations: 20 kB / 0.7802 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/0.6739, allocations: 259.5 kB / 0.7805 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.674, allocations: 23.92 kB / 0.7805 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.6752, allocations: 151.4 kB / 0.7806 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.6754, allocations: 59.98 kB / 0.7807 GB, free: 2.473 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.0003334/0.6757, allocations: 261.3 kB / 0.781 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.676, allocations: 197.7 kB / 0.7811 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.6792, allocations: 1.735 MB / 0.7828 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/0.6792, allocations: 19.98 kB / 0.7829 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.6792, allocations: 7.938 kB / 0.7829 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001801/0.681, allocations: 1.146 MB / 0.784 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005457/0.6865, allocations: 3.467 MB / 0.7874 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/0.6865, allocations: 15.98 kB / 0.7874 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/0.6872, allocations: 199.8 kB / 0.7876 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.6873, allocations: 12 kB / 0.7876 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.809e-05/0.6874, allocations: 43.97 kB / 0.7876 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/0.6874, allocations: 15.94 kB / 0.7876 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.6874, allocations: 11.94 kB / 0.7877 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.6907, allocations: 2.234 MB / 0.7898 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007459/0.6915, allocations: 430.2 kB / 0.7902 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.6917, allocations: 31.98 kB / 0.7903 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009592/0.6927, allocations: 91.78 kB / 0.7904 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.6929, allocations: 124.6 kB / 0.7905 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.693, allocations: 63.95 kB / 0.7905 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001544/0.6946, allocations: 1.083 MB / 0.7916 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6946, allocations: 4 kB / 0.7916 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002926/0.6975, allocations: 1.123 MB / 0.7927 GB, free: 5.848 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.001623/0.6991, allocations: 0.785 MB / 0.7935 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003904/0.7031, allocations: 1.902 MB / 0.7953 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7031, allocations: 0 / 0.7953 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.7044, allocations: 0.8216 MB / 0.7961 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/0.7085, allocations: 0.9766 MB / 0.7971 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.7144, allocations: 4.371 MB / 0.8013 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.7156, allocations: 1.436 MB / 0.8027 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001904/0.7175, allocations: 0.5387 MB / 0.8033 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.7179, allocations: 191.3 kB / 0.8035 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of SimCode: time 9.82e-07/0.7179, allocations: 0 / 0.8035 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of Templates: time 0.07377/0.7917, allocations: 42.49 MB / 0.8449 GB, free: 0.6875 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)