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.001672/0.001672, allocations: 107 kB / 16.36 MB, free: 6.336 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.001857/0.001857, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7518/0.7518, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 55.91 kB / 0.5067 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2956, allocations: 80.92 MB / 0.5858 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09439/0.39, allocations: 115.1 MB / 0.6982 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03294/0.423, allocations: 26.52 MB / 0.7241 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/0.4272, allocations: 115.4 kB / 0.7242 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003615/0.4309, allocations: 1.153 MB / 0.7253 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0084/0.4393, allocations: 3.42 MB / 0.7287 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005358/0.4447, allocations: 2.338 MB / 0.731 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007243/0.4519, allocations: 6.191 MB / 0.737 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.4547, allocations: 1.925 MB / 0.7389 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.4597, allocations: 2.66 MB / 0.7415 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.4625, allocations: 1.777 MB / 0.7432 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005583/0.463, allocations: 220 kB / 0.7434 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/0.4677, allocations: 2.332 MB / 0.7457 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006854/0.4683, allocations: 0.5409 MB / 0.7462 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.4702, allocations: 1.279 MB / 0.7475 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005338/0.4756, allocations: 4.113 MB / 0.7515 GB, free: 384 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4756, allocations: 0 / 0.7515 GB, free: 384 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4756, allocations: 0 / 0.7515 GB, free: 384 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.4756, allocations: 0 / 0.7515 GB, free: 384 kB / 0.5762 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.2541/0.7298, allocations: 2.827 MB / 0.7543 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7299, allocations: 11.64 kB / 0.7543 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006374/0.7305, allocations: 259.6 kB / 0.7545 GB, free: 160 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003954/0.7345, allocations: 2.141 MB / 0.7566 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/0.7346, allocations: 98.83 kB / 0.7567 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.7348, allocations: 141.1 kB / 0.7568 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.737, allocations: 1.452 MB / 0.7583 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.7371, allocations: 14.31 kB / 0.7583 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.7372, allocations: 57.3 kB / 0.7583 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/0.7372, allocations: 35.09 kB / 0.7584 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.7392, allocations: 1.025 MB / 0.7594 GB, free: 157.7 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.007387/0.7465, allocations: 8.119 MB / 0.7673 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.7479, allocations: 0.8342 MB / 0.7681 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.7484, allocations: 374.3 kB / 0.7685 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.7497, allocations: 2.811 MB / 0.7712 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.7497, allocations: 55.25 kB / 0.7713 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.465e-06/0.7497, allocations: 0 / 0.7713 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.001957/0.7517, allocations: 1.122 MB / 0.7723 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.7518, allocations: 66.16 kB / 0.7724 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.7534, allocations: 1.623 MB / 0.774 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.7534, allocations: 41.58 kB / 0.774 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.7539, allocations: 0.9349 MB / 0.775 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.7541, allocations: 302.7 kB / 0.7752 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.7544, allocations: 229.6 kB / 0.7755 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.7544, allocations: 346.9 kB / 0.7758 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.7549, allocations: 340.3 kB / 0.7761 GB, free: 143 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.7555, allocations: 0.6992 MB / 0.7768 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.7567, allocations: 1.088 MB / 0.7779 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.7567, allocations: 0 / 0.7779 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001815/0.7585, allocations: 1.252 MB / 0.7791 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.7586, allocations: 15.66 kB / 0.7791 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.7586, allocations: 15.94 kB / 0.7791 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.7586, allocations: 18.12 kB / 0.7791 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.7593, allocations: 262.6 kB / 0.7794 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.7594, allocations: 31.83 kB / 0.7794 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.7604, allocations: 130.6 kB / 0.7795 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.919e-05/0.7605, allocations: 67.97 kB / 0.7796 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008435/0.7613, allocations: 0.6244 MB / 0.7802 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006028/0.7619, allocations: 0.7002 MB / 0.7809 GB, free: 139 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001167/0.7631, allocations: 1.084 MB / 0.782 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.969e-06/0.7631, allocations: 4 kB / 0.782 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001832/0.765, allocations: 1.242 MB / 0.7832 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.765, allocations: 8 kB / 0.7832 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.765, allocations: 19.98 kB / 0.7832 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.765, allocations: 20 kB / 0.7832 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.7657, allocations: 263.3 kB / 0.7835 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.7657, allocations: 23.92 kB / 0.7835 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.7668, allocations: 107 kB / 0.7836 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.7669, allocations: 59.98 kB / 0.7836 GB, free: 136 MB / 0.5762 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.0002511/0.7672, allocations: 258.2 kB / 0.7839 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.7674, allocations: 185.8 kB / 0.7841 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.7699, allocations: 1.735 MB / 0.7858 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.77, allocations: 30.36 kB / 0.7858 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.77, allocations: 3.938 kB / 0.7858 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/0.7714, allocations: 1.146 MB / 0.7869 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/0.7757, allocations: 3.484 MB / 0.7903 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.7757, allocations: 8 kB / 0.7903 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/0.7764, allocations: 203.5 kB / 0.7905 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.7764, allocations: 8 kB / 0.7905 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.7764, allocations: 43.98 kB / 0.7906 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.7765, allocations: 19.92 kB / 0.7906 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7765, allocations: 11.94 kB / 0.7906 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.7789, allocations: 2.223 MB / 0.7928 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006687/0.7796, allocations: 441.8 kB / 0.7932 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.7798, allocations: 32 kB / 0.7932 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/0.7806, allocations: 43.91 kB / 0.7933 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.7808, allocations: 126.5 kB / 0.7934 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.945e-05/0.7809, allocations: 55.97 kB / 0.7934 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001236/0.7822, allocations: 1.093 MB / 0.7945 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7822, allocations: 3.938 kB / 0.7945 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002486/0.7847, allocations: 1.131 MB / 0.7956 GB, free: 123.5 MB / 0.5762 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.001289/0.786, allocations: 0.7922 MB / 0.7964 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.7883, allocations: 1.815 MB / 0.7982 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7883, allocations: 0 / 0.7982 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009189/0.7893, allocations: 0.8276 MB / 0.799 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/0.7927, allocations: 0.9702 MB / 0.7999 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.7967, allocations: 3.557 MB / 0.8034 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.7973, allocations: 1.436 MB / 0.8048 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001458/0.7988, allocations: 0.5366 MB / 0.8053 GB, free: 113.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.7991, allocations: 187.3 kB / 0.8055 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.7991, allocations: 0 / 0.8055 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.05236/0.8514, allocations: 43 MB / 0.8475 GB, free: 70.84 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)