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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_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.007154/0.007154, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001662/0.001662, allocations: 192.7 kB / 16.67 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.271/1.271, 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/package.mo): time 0.7453/0.7453, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 66.95 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.149, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4495/0.5985, allocations: 115.1 MB / 0.7716 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03752/0.6361, allocations: 26.52 MB / 0.7975 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007072/0.6432, allocations: 119.2 kB / 0.7976 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004082/0.6474, allocations: 1.172 MB / 0.7988 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.66, allocations: 3.574 MB / 0.8023 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008357/0.6684, allocations: 2.374 MB / 0.8046 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01129/0.6797, allocations: 6.202 MB / 0.8106 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004381/0.6842, allocations: 1.929 MB / 0.8125 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008075/0.6923, allocations: 2.707 MB / 0.8152 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004417/0.6967, allocations: 1.771 MB / 0.8169 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.6978, allocations: 220.5 kB / 0.8171 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007676/0.7055, allocations: 2.342 MB / 0.8194 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.7067, allocations: 0.5405 MB / 0.8199 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003517/0.7102, allocations: 1.287 MB / 0.8212 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.7218, allocations: 4.127 MB / 0.8252 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.7218, allocations: 0 / 0.8252 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7219, allocations: 0 / 0.8252 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001541/0.722, allocations: 0 / 0.8252 GB, free: 9.844 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.009134/0.7312, allocations: 2.917 MB / 0.8281 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.7312, allocations: 9.5 kB / 0.8281 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005629/0.7318, allocations: 196.5 kB / 0.8283 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.7331, allocations: 273.4 kB / 0.8285 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006385/0.7395, allocations: 2.154 MB / 0.8306 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.7397, allocations: 102.5 kB / 0.8307 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/0.7401, allocations: 136.8 kB / 0.8308 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/0.7439, allocations: 1.458 MB / 0.8323 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.058e-05/0.744, allocations: 6.375 kB / 0.8323 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.7442, allocations: 60.83 kB / 0.8323 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.7443, allocations: 32.94 kB / 0.8324 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.7469, allocations: 1.019 MB / 0.8334 GB, free: 4.133 MB / 0.5919 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.01086/0.7578, allocations: 8.153 MB / 0.8413 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.7595, allocations: 0.836 MB / 0.8421 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006417/0.7602, allocations: 375.8 kB / 0.8425 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002442/0.7626, allocations: 2.804 MB / 0.8452 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.7627, allocations: 43.22 kB / 0.8453 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.176e-06/0.7627, allocations: 0 / 0.8453 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.00273/0.7654, allocations: 1.141 MB / 0.8464 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.7655, allocations: 64 kB / 0.8465 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.7678, allocations: 1.618 MB / 0.848 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.407e-05/0.7679, allocations: 46.47 kB / 0.8481 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008324/0.7688, allocations: 0.9514 MB / 0.849 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.7691, allocations: 318.7 kB / 0.8493 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003397/0.7694, allocations: 230.8 kB / 0.8495 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.7696, allocations: 349.9 kB / 0.8499 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/0.7703, allocations: 329.9 kB / 0.8502 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009988/0.7713, allocations: 0.6994 MB / 0.8509 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.773, allocations: 1.097 MB / 0.8519 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.773, allocations: 4 kB / 0.8519 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002513/0.7756, allocations: 1.257 MB / 0.8532 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.7756, allocations: 8.875 kB / 0.8532 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-05/0.7757, allocations: 16 kB / 0.8532 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.767e-05/0.7757, allocations: 23.94 kB / 0.8532 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/0.7766, allocations: 267.5 kB / 0.8535 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.7767, allocations: 23.92 kB / 0.8535 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.7779, allocations: 131.1 kB / 0.8536 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.778, allocations: 67.97 kB / 0.8537 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001202/0.7792, allocations: 0.6197 MB / 0.8543 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009864/0.7802, allocations: 0.6994 MB / 0.855 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001701/0.782, allocations: 1.089 MB / 0.856 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.793e-06/0.782, allocations: 4 kB / 0.856 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002354/0.7843, allocations: 1.247 MB / 0.8573 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7844, allocations: 12 kB / 0.8573 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/0.7844, allocations: 23.97 kB / 0.8573 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.718e-05/0.7845, allocations: 16 kB / 0.8573 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/0.7853, allocations: 267.5 kB / 0.8576 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.7854, allocations: 23.88 kB / 0.8576 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.7866, allocations: 107.4 kB / 0.8577 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.7867, allocations: 63.98 kB / 0.8577 GB, free: 9.207 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.0003999/0.7871, allocations: 251.9 kB / 0.858 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/0.7875, allocations: 198.7 kB / 0.8582 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.7909, allocations: 1.737 MB / 0.8599 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/0.7909, allocations: 27.92 kB / 0.8599 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.791, allocations: 0 / 0.8599 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/0.793, allocations: 1.142 MB / 0.861 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006339/0.7993, allocations: 3.485 MB / 0.8644 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/0.7994, allocations: 12.8 kB / 0.8644 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/0.8002, allocations: 203.7 kB / 0.8646 GB, free: 2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.8002, allocations: 15.94 kB / 0.8646 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/0.8003, allocations: 43.98 kB / 0.8647 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/0.8003, allocations: 12 kB / 0.8647 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/0.8003, allocations: 15.88 kB / 0.8647 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.804, allocations: 2.243 MB / 0.8669 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009323/0.805, allocations: 451.2 kB / 0.8673 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.8052, allocations: 32 kB / 0.8674 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.8062, allocations: 43.97 kB / 0.8674 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.8064, allocations: 120.7 kB / 0.8675 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.8065, allocations: 63.91 kB / 0.8676 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001842/0.8084, allocations: 1.087 MB / 0.8686 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8084, allocations: 0 / 0.8686 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003424/0.8118, allocations: 1.146 MB / 0.8698 GB, free: 12.6 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.005793/0.8176, allocations: 3.491 MB / 0.8732 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003463/0.8211, allocations: 1.809 MB / 0.8749 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.8212, allocations: 3.938 kB / 0.8749 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.8226, allocations: 0.8209 MB / 0.8757 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/0.8277, allocations: 0.9698 MB / 0.8767 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.8481, allocations: 12.54 MB / 0.8889 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.8493, allocations: 1.432 MB / 0.8903 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002041/0.8513, allocations: 0.545 MB / 0.8909 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.8524, allocations: 0.8467 MB / 0.8917 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.8524, allocations: 0 / 0.8917 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/0.9678, allocations: 58.74 MB / 0.949 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.45, allocations: 17.08 kB / 0.9491 GB, free: 11.1 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)