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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004614/0.004618, allocations: 101.8 kB / 15.73 MB, free: 6.02 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.001298/0.001298, allocations: 196.2 kB / 16.68 MB, free: 5.934 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8572/0.8572, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 62.97 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1353, allocations: 81.03 MB / 0.6649 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4006/0.5359, allocations: 115.1 MB / 0.7773 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02751/0.5634, allocations: 26.53 MB / 0.8032 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004036/0.5675, allocations: 114.5 kB / 0.8033 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.5704, allocations: 1.147 MB / 0.8044 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008353/0.5788, allocations: 3.423 MB / 0.8078 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.5844, allocations: 2.347 MB / 0.8101 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007908/0.5923, allocations: 6.188 MB / 0.8161 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003304/0.5956, allocations: 1.926 MB / 0.818 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006187/0.6018, allocations: 2.652 MB / 0.8206 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.6054, allocations: 1.776 MB / 0.8223 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006318/0.606, allocations: 219.2 kB / 0.8225 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005898/0.6119, allocations: 2.336 MB / 0.8248 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008751/0.6128, allocations: 0.5368 MB / 0.8253 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002543/0.6154, allocations: 1.281 MB / 0.8266 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008126/0.6235, allocations: 4.125 MB / 0.8306 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6235, allocations: 2.906 kB / 0.8306 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6235, allocations: 0 / 0.8306 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001/0.6236, allocations: 4 kB / 0.8306 GB, free: 5.762 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.006848/0.6305, allocations: 2.923 MB / 0.8335 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6305, allocations: 10.55 kB / 0.8335 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003513/0.6309, allocations: 196.4 kB / 0.8337 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.6318, allocations: 275.6 kB / 0.8339 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.6366, allocations: 2.146 MB / 0.836 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.6367, allocations: 106.8 kB / 0.8361 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.637, allocations: 134.9 kB / 0.8363 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.6399, allocations: 1.458 MB / 0.8377 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/0.6399, allocations: 3.953 kB / 0.8377 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.6401, allocations: 56 kB / 0.8377 GB, free: 68 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/0.6401, allocations: 40 kB / 0.8378 GB, free: 28 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.6424, allocations: 1.029 MB / 0.8388 GB, free: 14.99 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.01069/0.6531, allocations: 8.149 MB / 0.8467 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.6549, allocations: 0.8372 MB / 0.8476 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.6556, allocations: 376.7 kB / 0.8479 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00269/0.6583, allocations: 2.803 MB / 0.8506 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.6584, allocations: 43.2 kB / 0.8507 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.256e-06/0.6584, allocations: 0 / 0.8507 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.00277/0.6611, allocations: 1.137 MB / 0.8518 GB, free: 324 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.6612, allocations: 67.94 kB / 0.8519 GB, free: 244 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/0.6641, allocations: 1.621 MB / 0.8534 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.503e-05/0.6643, allocations: 41.7 kB / 0.8535 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009553/0.6652, allocations: 0.9451 MB / 0.8544 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.6656, allocations: 325.2 kB / 0.8547 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.666, allocations: 227.6 kB / 0.8549 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6662, allocations: 353.9 kB / 0.8553 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.6669, allocations: 329.9 kB / 0.8556 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.6681, allocations: 0.6994 MB / 0.8563 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.6702, allocations: 1.085 MB / 0.8573 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.6703, allocations: 4 kB / 0.8573 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002777/0.673, allocations: 1.27 MB / 0.8586 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.6731, allocations: 8 kB / 0.8586 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/0.6731, allocations: 17.56 kB / 0.8586 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/0.6732, allocations: 16 kB / 0.8586 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/0.674, allocations: 263.5 kB / 0.8589 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/0.6741, allocations: 28.17 kB / 0.8589 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.6753, allocations: 139.1 kB / 0.859 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.6755, allocations: 63.97 kB / 0.8591 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00124/0.6767, allocations: 0.6274 MB / 0.8597 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00109/0.6778, allocations: 0.7033 MB / 0.8604 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002037/0.6799, allocations: 1.085 MB / 0.8614 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.596e-06/0.6799, allocations: 4 kB / 0.8615 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002614/0.6825, allocations: 1.246 MB / 0.8627 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6826, allocations: 8 kB / 0.8627 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/0.6826, allocations: 19.98 kB / 0.8627 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.6826, allocations: 20 kB / 0.8627 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008732/0.6835, allocations: 264.3 kB / 0.863 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/0.6835, allocations: 27.81 kB / 0.863 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.6847, allocations: 103.4 kB / 0.8631 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.6848, allocations: 63.98 kB / 0.8632 GB, free: 3.938 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.0003261/0.6852, allocations: 253.2 kB / 0.8634 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/0.6857, allocations: 206.7 kB / 0.8636 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.6893, allocations: 1.74 MB / 0.8653 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/0.6894, allocations: 27.92 kB / 0.8653 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.6894, allocations: 0 / 0.8653 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002011/0.6914, allocations: 1.142 MB / 0.8664 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006308/0.6977, allocations: 3.491 MB / 0.8698 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/0.6977, allocations: 12 kB / 0.8699 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.6985, allocations: 203.7 kB / 0.87 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.6985, allocations: 8 kB / 0.8701 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.871e-05/0.6986, allocations: 39.98 kB / 0.8701 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-05/0.6987, allocations: 16.31 kB / 0.8701 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/0.6987, allocations: 27.8 kB / 0.8701 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/0.7024, allocations: 2.235 MB / 0.8723 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008273/0.7032, allocations: 447.2 kB / 0.8727 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/0.7036, allocations: 36 kB / 0.8728 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009578/0.7045, allocations: 43.92 kB / 0.8728 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.7048, allocations: 124.7 kB / 0.8729 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.7049, allocations: 55.97 kB / 0.873 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001769/0.7067, allocations: 1.087 MB / 0.8741 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3e-07/0.7067, allocations: 4 kB / 0.8741 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003027/0.7097, allocations: 1.142 MB / 0.8752 GB, free: 7.262 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.005993/0.7157, allocations: 3.494 MB / 0.8786 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003579/0.7193, allocations: 1.808 MB / 0.8804 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.7193, allocations: 0 / 0.8804 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.7207, allocations: 0.8275 MB / 0.8812 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004876/0.7256, allocations: 0.9598 MB / 0.8821 GB, free: 16 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/0.747, allocations: 12.54 MB / 0.8943 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.7483, allocations: 1.438 MB / 0.8957 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001921/0.7503, allocations: 0.5387 MB / 0.8963 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/0.7516, allocations: 0.8468 MB / 0.8971 GB, free: 15.94 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/0.7516, allocations: 0 / 0.8971 GB, free: 15.94 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/0.8604, allocations: 58.74 MB / 0.9545 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.03, allocations: 10.8 kB / 0.9545 GB, free: 5.719 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)