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.009289/0.009289, allocations: 97.69 kB / 15.73 MB, free: 6.055 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.002158/0.002158, allocations: 198.8 kB / 16.68 MB, free: 5.961 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8974/0.8974, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 72.52 kB / 0.5862 GB, free: 21.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2024, allocations: 81.02 MB / 0.6653 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.5885/0.7909, allocations: 115.1 MB / 0.7778 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03889/0.8299, allocations: 26.52 MB / 0.8037 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009297/0.8392, allocations: 113.8 kB / 0.8038 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00519/0.8445, allocations: 1.153 MB / 0.8049 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01319/0.8577, allocations: 3.41 MB / 0.8082 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007497/0.8653, allocations: 2.343 MB / 0.8105 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.8767, allocations: 6.199 MB / 0.8166 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.8809, allocations: 1.929 MB / 0.8185 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009095/0.89, allocations: 2.654 MB / 0.8211 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005863/0.8959, allocations: 1.775 MB / 0.8228 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.8977, allocations: 220.2 kB / 0.823 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/0.9082, allocations: 2.335 MB / 0.8253 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001741/0.91, allocations: 0.5357 MB / 0.8258 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00443/0.9145, allocations: 1.283 MB / 0.8271 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.9266, allocations: 4.127 MB / 0.8311 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9266, allocations: 4 kB / 0.8311 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9267, allocations: 2.438 kB / 0.8311 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001582/0.9268, allocations: 0 / 0.8311 GB, free: 5.379 MB / 0.5919 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.008724/0.9356, allocations: 2.909 MB / 0.8339 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.9356, allocations: 18.06 kB / 0.834 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009649/0.9366, allocations: 269.3 kB / 0.8342 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005014/0.9416, allocations: 2.159 MB / 0.8363 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.9417, allocations: 104.5 kB / 0.8364 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.9421, allocations: 133.1 kB / 0.8365 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.9449, allocations: 1.457 MB / 0.838 GB, free: 40 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.9449, allocations: 7.953 kB / 0.838 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.9451, allocations: 56.08 kB / 0.838 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/0.9452, allocations: 35.98 kB / 0.8381 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.9472, allocations: 1.029 MB / 0.8391 GB, free: 14.9 MB / 0.6075 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.01223/0.9594, allocations: 8.141 MB / 0.847 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.9614, allocations: 0.845 MB / 0.8478 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/0.9621, allocations: 376.7 kB / 0.8482 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00319/0.9653, allocations: 2.803 MB / 0.8509 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.9654, allocations: 43.22 kB / 0.851 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.346e-06/0.9654, allocations: 4 kB / 0.851 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.003269/0.9687, allocations: 1.137 MB / 0.8521 GB, free: 232 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.9688, allocations: 64 kB / 0.8522 GB, free: 156 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004326/0.9731, allocations: 1.621 MB / 0.8537 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.9733, allocations: 49.64 kB / 0.8538 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.9746, allocations: 0.9419 MB / 0.8547 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00052/0.9751, allocations: 317.3 kB / 0.855 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004901/0.9756, allocations: 234.8 kB / 0.8552 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.9759, allocations: 353.9 kB / 0.8556 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008031/0.9767, allocations: 325.9 kB / 0.8559 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.9779, allocations: 0.7111 MB / 0.8566 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.98, allocations: 1.085 MB / 0.8576 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.98, allocations: 4 kB / 0.8576 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00311/0.9831, allocations: 1.258 MB / 0.8589 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.9832, allocations: 12 kB / 0.8589 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.416e-05/0.9832, allocations: 19.98 kB / 0.8589 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.715e-05/0.9833, allocations: 20 kB / 0.8589 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008687/0.9841, allocations: 260.1 kB / 0.8592 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.514e-05/0.9842, allocations: 31.81 kB / 0.8592 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.9858, allocations: 135 kB / 0.8593 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.986, allocations: 67.98 kB / 0.8594 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001959/0.988, allocations: 0.6197 MB / 0.86 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001511/0.9895, allocations: 0.7009 MB / 0.8607 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001846/0.9914, allocations: 1.081 MB / 0.8617 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.698e-06/0.9914, allocations: 4 kB / 0.8617 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002853/0.9942, allocations: 1.254 MB / 0.863 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.9943, allocations: 12 kB / 0.863 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/0.9943, allocations: 16.81 kB / 0.863 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.9943, allocations: 16 kB / 0.863 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/0.9953, allocations: 259.6 kB / 0.8633 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.424e-05/0.9953, allocations: 27.92 kB / 0.8633 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.9968, allocations: 103.3 kB / 0.8634 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.997, allocations: 67.97 kB / 0.8634 GB, free: 3.84 MB / 0.6231 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.0003994/0.9974, allocations: 257.2 kB / 0.8637 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008773/0.9983, allocations: 198.7 kB / 0.8639 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/1.002, allocations: 1.741 MB / 0.8656 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/1.002, allocations: 15.98 kB / 0.8656 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.002, allocations: 3.938 kB / 0.8656 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002109/1.004, allocations: 1.142 MB / 0.8667 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006952/1.011, allocations: 3.494 MB / 0.8701 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/1.011, allocations: 12 kB / 0.8701 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/1.012, allocations: 200.3 kB / 0.8703 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/1.012, allocations: 15.94 kB / 0.8703 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/1.012, allocations: 51.92 kB / 0.8704 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.613e-05/1.012, allocations: 19.91 kB / 0.8704 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/1.012, allocations: 11.94 kB / 0.8704 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/1.016, allocations: 2.231 MB / 0.8726 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.018, allocations: 451.2 kB / 0.873 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005853/1.018, allocations: 28 kB / 0.8731 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.02, allocations: 55.86 kB / 0.8731 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/1.02, allocations: 116.7 kB / 0.8732 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.02, allocations: 59.97 kB / 0.8733 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002232/1.022, allocations: 1.091 MB / 0.8743 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/1.022, allocations: 0 / 0.8743 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004411/1.027, allocations: 1.142 MB / 0.8755 GB, free: 7.168 MB / 0.6387 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.001993/1.029, allocations: 0.7975 MB / 0.8762 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003552/1.032, allocations: 1.812 MB / 0.878 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.032, allocations: 0 / 0.878 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.034, allocations: 0.8221 MB / 0.8788 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005395/1.039, allocations: 0.9706 MB / 0.8798 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00726/1.046, allocations: 3.635 MB / 0.8833 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/1.048, allocations: 1.436 MB / 0.8847 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002494/1.05, allocations: 0.5349 MB / 0.8852 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006182/1.051, allocations: 195.3 kB / 0.8854 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of SimCode: time 1.051e-06/1.051, allocations: 0 / 0.8854 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.08141/1.133, allocations: 43.35 MB / 0.9278 GB, free: 1.824 MB / 0.6856 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)