Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006096/0.006096, allocations: 102.5 kB / 15.74 MB, free: 6.027 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.001294/0.001294, allocations: 196 kB / 16.67 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7132/0.7132, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 61.83 kB / 0.5813 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1859, allocations: 80.2 MB / 0.6597 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1077/0.2937, allocations: 115.2 MB / 0.7721 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04236/0.3361, allocations: 26.51 MB / 0.798 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005864/0.342, allocations: 107.4 kB / 0.7981 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004221/0.3463, allocations: 1.149 MB / 0.7993 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.3568, allocations: 3.419 MB / 0.8026 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007226/0.364, allocations: 2.343 MB / 0.8049 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009861/0.3739, allocations: 6.182 MB / 0.8109 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004194/0.3781, allocations: 1.929 MB / 0.8128 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4532/0.8314, allocations: 2.647 MB / 0.8154 GB, free: 17.2 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004759/0.8362, allocations: 1.769 MB / 0.8171 GB, free: 17.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007685/0.837, allocations: 220.5 kB / 0.8173 GB, free: 17.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008178/0.8452, allocations: 2.34 MB / 0.8196 GB, free: 17.2 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008553/0.846, allocations: 0.5337 MB / 0.8201 GB, free: 17.2 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003204/0.8492, allocations: 1.287 MB / 0.8214 GB, free: 16.88 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.8605, allocations: 4.122 MB / 0.8254 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.8605, allocations: 0 / 0.8254 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8605, allocations: 1.438 kB / 0.8254 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.555e-05/0.8606, allocations: 0 / 0.8254 GB, free: 16.34 MB / 0.6387 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.006898/0.8675, allocations: 2.915 MB / 0.8283 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.8676, allocations: 9.531 kB / 0.8283 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/0.8685, allocations: 273 kB / 0.8285 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.873, allocations: 2.156 MB / 0.8306 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/0.8731, allocations: 109.2 kB / 0.8307 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.8733, allocations: 137.6 kB / 0.8309 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.8757, allocations: 1.453 MB / 0.8323 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.8757, allocations: 5.781 kB / 0.8323 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.8759, allocations: 54.72 kB / 0.8323 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/0.8759, allocations: 38.7 kB / 0.8324 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.8777, allocations: 1.024 MB / 0.8334 GB, free: 14.01 MB / 0.6387 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.0079/0.8856, allocations: 8.144 MB / 0.8413 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.887, allocations: 0.8384 MB / 0.8422 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.8876, allocations: 381.2 kB / 0.8425 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/0.8895, allocations: 2.804 MB / 0.8453 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.8895, allocations: 46.03 kB / 0.8453 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 4.459e-06/0.8895, allocations: 0 / 0.8453 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.002819/0.8923, allocations: 1.133 MB / 0.8464 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.8924, allocations: 64.25 kB / 0.8465 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.8948, allocations: 1.62 MB / 0.848 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.022e-05/0.8949, allocations: 43.95 kB / 0.8481 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000617/0.8955, allocations: 0.9466 MB / 0.849 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.8958, allocations: 322.9 kB / 0.8493 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.8961, allocations: 235 kB / 0.8495 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8963, allocations: 353.8 kB / 0.8499 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.8968, allocations: 331 kB / 0.8502 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008723/0.8977, allocations: 0.702 MB / 0.8509 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.8991, allocations: 1.09 MB / 0.852 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.8991, allocations: 2.938 kB / 0.852 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002092/0.9012, allocations: 1.255 MB / 0.8532 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9012, allocations: 14.88 kB / 0.8532 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/0.9013, allocations: 19.2 kB / 0.8532 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-05/0.9013, allocations: 15.75 kB / 0.8532 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.9021, allocations: 263.1 kB / 0.8535 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.9021, allocations: 24.12 kB / 0.8535 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.9033, allocations: 139.6 kB / 0.8536 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9035, allocations: 61.92 kB / 0.8537 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00112/0.9046, allocations: 0.6247 MB / 0.8543 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007042/0.9053, allocations: 0.7053 MB / 0.855 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00123/0.9065, allocations: 1.074 MB / 0.856 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/0.9065, allocations: 10.41 kB / 0.8561 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001996/0.9086, allocations: 1.253 MB / 0.8573 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9086, allocations: 11.78 kB / 0.8573 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.9086, allocations: 14.41 kB / 0.8573 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.9086, allocations: 17.41 kB / 0.8573 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.9094, allocations: 267.4 kB / 0.8576 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.9094, allocations: 24.27 kB / 0.8576 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.9106, allocations: 104.9 kB / 0.8577 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.9107, allocations: 61.36 kB / 0.8578 GB, free: 2.121 MB / 0.6387 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.0003175/0.911, allocations: 258.9 kB / 0.858 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.9113, allocations: 203.5 kB / 0.8582 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.914, allocations: 1.736 MB / 0.8599 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.224e-05/0.914, allocations: 18.81 kB / 0.8599 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.914, allocations: 6.469 kB / 0.8599 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001426/0.9155, allocations: 1.143 MB / 0.861 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/0.9202, allocations: 3.495 MB / 0.8644 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/0.9202, allocations: 11.42 kB / 0.8645 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.9209, allocations: 196.8 kB / 0.8646 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.9209, allocations: 13.44 kB / 0.8647 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.921, allocations: 44.3 kB / 0.8647 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/0.921, allocations: 13.31 kB / 0.8647 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.921, allocations: 8.781 kB / 0.8647 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.9236, allocations: 2.246 MB / 0.8669 GB, free: 260 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000651/0.9243, allocations: 447.8 kB / 0.8673 GB, free: 28 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.9245, allocations: 34.7 kB / 0.8674 GB, free: 28 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/0.9254, allocations: 40.47 kB / 0.8674 GB, free: 28 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.9255, allocations: 123.4 kB / 0.8675 GB, free: 20 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.627e-05/0.9256, allocations: 55.97 kB / 0.8676 GB, free: 20 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001456/0.9271, allocations: 1.091 MB / 0.8686 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9271, allocations: 0 / 0.8686 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003621/0.9307, allocations: 1.148 MB / 0.8698 GB, free: 15.69 MB / 0.6544 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.001692/0.9324, allocations: 0.8101 MB / 0.8706 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002696/0.9351, allocations: 1.809 MB / 0.8723 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.9352, allocations: 2.188 kB / 0.8723 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.9362, allocations: 0.8242 MB / 0.8731 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/0.94, allocations: 0.9675 MB / 0.8741 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.9451, allocations: 3.625 MB / 0.8776 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009739/0.9461, allocations: 1.443 MB / 0.879 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002094/0.9482, allocations: 0.5402 MB / 0.8796 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.9486, allocations: 189.2 kB / 0.8797 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of SimCode: time 9.11e-07/0.9486, allocations: 0 / 0.8797 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.06847/1.017, allocations: 43.35 MB / 0.9221 GB, free: 7.371 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)