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.001309/0.001308, allocations: 117.3 kB / 16.37 MB, free: 6.004 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.001478/0.001478, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.317/1.317, allocations: 222.9 MB / 241 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.7737/0.7737, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3941, allocations: 80.9 MB / 0.5858 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09642/0.4905, allocations: 115.2 MB / 0.6982 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03342/0.524, allocations: 26.52 MB / 0.7241 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.5283, allocations: 115.4 kB / 0.7242 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.532, allocations: 1.149 MB / 0.7253 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009432/0.5415, allocations: 3.424 MB / 0.7287 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006606/0.5481, allocations: 2.339 MB / 0.731 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008603/0.5567, allocations: 6.187 MB / 0.737 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003507/0.5602, allocations: 1.925 MB / 0.7389 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006497/0.5668, allocations: 2.653 MB / 0.7415 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.5698, allocations: 1.785 MB / 0.7432 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000456/0.5703, allocations: 220 kB / 0.7434 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005243/0.5756, allocations: 2.332 MB / 0.7457 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005853/0.5762, allocations: 0.5409 MB / 0.7462 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.578, allocations: 1.287 MB / 0.7475 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.5854, allocations: 4.098 MB / 0.7515 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5855, allocations: 0 / 0.7515 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5855, allocations: 0 / 0.7515 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.55e-05/0.5855, allocations: 4 kB / 0.7515 GB, free: 0.4922 MB / 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.3319/0.9175, allocations: 2.828 MB / 0.7543 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.9175, allocations: 11.89 kB / 0.7543 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.9186, allocations: 257.5 kB / 0.7545 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004975/0.9236, allocations: 2.147 MB / 0.7566 GB, free: 159 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.9237, allocations: 100.7 kB / 0.7567 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.9239, allocations: 140.2 kB / 0.7568 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.9267, allocations: 1.446 MB / 0.7583 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.9268, allocations: 17.41 kB / 0.7583 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.9269, allocations: 55 kB / 0.7583 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/0.927, allocations: 35.44 kB / 0.7584 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.9291, allocations: 1.031 MB / 0.7594 GB, free: 157.8 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.008597/0.9377, allocations: 8.112 MB / 0.7673 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.9391, allocations: 0.8455 MB / 0.7681 GB, free: 150 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.9397, allocations: 374.7 kB / 0.7685 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/0.9411, allocations: 2.807 MB / 0.7712 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.9411, allocations: 52.78 kB / 0.7713 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.317e-06/0.9411, allocations: 0 / 0.7713 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002201/0.9433, allocations: 1.121 MB / 0.7724 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.9434, allocations: 64.5 kB / 0.7724 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.9452, allocations: 1.618 MB / 0.774 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/0.9453, allocations: 49.62 kB / 0.7741 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.9458, allocations: 0.9291 MB / 0.775 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.946, allocations: 307.3 kB / 0.7753 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.9463, allocations: 226.9 kB / 0.7755 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.9464, allocations: 349.7 kB / 0.7758 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/0.9469, allocations: 328.6 kB / 0.7761 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.9475, allocations: 0.711 MB / 0.7768 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.9487, allocations: 1.079 MB / 0.7779 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.9487, allocations: 3.969 kB / 0.7779 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001923/0.9507, allocations: 1.249 MB / 0.7791 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.9507, allocations: 9.531 kB / 0.7791 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/0.9507, allocations: 19.3 kB / 0.7791 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.9508, allocations: 18.62 kB / 0.7791 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.9515, allocations: 270.2 kB / 0.7794 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.9515, allocations: 23.88 kB / 0.7794 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.9527, allocations: 134.6 kB / 0.7795 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-05/0.9528, allocations: 59.98 kB / 0.7796 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008892/0.9537, allocations: 0.6317 MB / 0.7802 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006133/0.9543, allocations: 0.7007 MB / 0.7809 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001098/0.9554, allocations: 1.081 MB / 0.782 GB, free: 138 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.9554, allocations: 4 kB / 0.782 GB, free: 138 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001682/0.9571, allocations: 1.246 MB / 0.7832 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.9571, allocations: 10.72 kB / 0.7832 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.9572, allocations: 16 kB / 0.7832 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.9572, allocations: 21 kB / 0.7832 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.9579, allocations: 264.4 kB / 0.7835 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.9579, allocations: 23.92 kB / 0.7835 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/0.9588, allocations: 111 kB / 0.7836 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.9589, allocations: 63.97 kB / 0.7837 GB, free: 136.2 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.0002441/0.9592, allocations: 251.9 kB / 0.7839 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.9595, allocations: 185.8 kB / 0.7841 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.9619, allocations: 1.737 MB / 0.7858 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/0.962, allocations: 23.98 kB / 0.7858 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.962, allocations: 3.938 kB / 0.7858 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/0.9633, allocations: 1.146 MB / 0.7869 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004203/0.9675, allocations: 3.488 MB / 0.7903 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/0.9676, allocations: 10.25 kB / 0.7903 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.9682, allocations: 199.7 kB / 0.7905 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.9682, allocations: 8 kB / 0.7905 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.9683, allocations: 45.73 kB / 0.7906 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.9683, allocations: 19.92 kB / 0.7906 GB, free: 129 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9683, allocations: 8 kB / 0.7906 GB, free: 129 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.9709, allocations: 2.228 MB / 0.7928 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/0.9716, allocations: 441.4 kB / 0.7932 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.9718, allocations: 35.94 kB / 0.7932 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/0.9726, allocations: 47.91 kB / 0.7933 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.9728, allocations: 123.2 kB / 0.7934 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/0.9729, allocations: 55.97 kB / 0.7935 GB, free: 126 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001185/0.9741, allocations: 1.091 MB / 0.7945 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9741, allocations: 3.062 kB / 0.7945 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002648/0.9767, allocations: 1.135 MB / 0.7956 GB, free: 123.8 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.001439/0.9782, allocations: 0.7896 MB / 0.7964 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002522/0.9807, allocations: 1.815 MB / 0.7982 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9807, allocations: 1.875 kB / 0.7982 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009601/0.9817, allocations: 0.8257 MB / 0.799 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/0.9852, allocations: 0.9635 MB / 0.7999 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.9897, allocations: 3.569 MB / 0.8034 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.9903, allocations: 1.432 MB / 0.8048 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001582/0.9919, allocations: 0.531 MB / 0.8053 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.9922, allocations: 187.3 kB / 0.8055 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.9923, allocations: 0 / 0.8055 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.05736/1.05, allocations: 43.02 MB / 0.8475 GB, free: 71.05 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)