Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",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.00687/0.00687, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001587/0.001587, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6932/0.6932, allocations: 132.2 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 0.5809 GB, free: 8.086 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4223, allocations: 80.2 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1713/0.5937, allocations: 161.5 MB / 0.8169 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002778/0.5965, allocations: 1.706 MB / 0.8186 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.5968, allocations: 11.94 kB / 0.8186 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.5974, allocations: 166.9 kB / 0.8187 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.5986, allocations: 0.535 MB / 0.8193 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000996/0.5996, allocations: 423.6 kB / 0.8197 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006598/0.6002, allocations: 0.5693 MB / 0.8202 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.6005, allocations: 187.2 kB / 0.8204 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.6011, allocations: 334.6 kB / 0.8207 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.6012, allocations: 151.4 kB / 0.8209 GB, free: 48 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.6013, allocations: 12 kB / 0.8209 GB, free: 36 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009825/0.6023, allocations: 0.6976 MB / 0.8215 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.6024, allocations: 83.72 kB / 0.8216 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.6025, allocations: 111.4 kB / 0.8217 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.6032, allocations: 0.5031 MB / 0.8222 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6032, allocations: 0 / 0.8222 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6032, allocations: 0 / 0.8222 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.6032, allocations: 4 kB / 0.8222 GB, free: 14.64 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007994/0.604, allocations: 0.5911 MB / 0.8228 GB, free: 14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6041, allocations: 11.97 kB / 0.8228 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.6041, allocations: 50.5 kB / 0.8229 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.6045, allocations: 59.75 kB / 0.8229 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.6049, allocations: 301.5 kB / 0.8232 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.605, allocations: 12 kB / 0.8232 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.605, allocations: 15.94 kB / 0.8232 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.6054, allocations: 189.5 kB / 0.8234 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6054, allocations: 7.938 kB / 0.8234 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.6054, allocations: 8 kB / 0.8234 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.6054, allocations: 3.938 kB / 0.8234 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.6057, allocations: 135.8 kB / 0.8236 GB, free: 13.15 MB / 0.6544 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.0009586/0.6067, allocations: 0.7733 MB / 0.8243 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.6069, allocations: 86.47 kB / 0.8244 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.6071, allocations: 76.86 kB / 0.8245 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.6074, allocations: 194.1 kB / 0.8247 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.6074, allocations: 34.56 kB / 0.8247 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.6074, allocations: 0 / 0.8247 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006298/0.608, allocations: 217.4 kB / 0.8249 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.6081, allocations: 55.39 kB / 0.825 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.6083, allocations: 267 kB / 0.8252 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.6083, allocations: 29.7 kB / 0.8252 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.6084, allocations: 144 kB / 0.8254 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.6085, allocations: 39.69 kB / 0.8254 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.6085, allocations: 33.64 kB / 0.8254 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6087, allocations: 334.8 kB / 0.8258 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.6088, allocations: 48.83 kB / 0.8258 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.6089, allocations: 85.48 kB / 0.8259 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.6092, allocations: 131.3 kB / 0.826 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6092, allocations: 0 / 0.826 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003299/0.6095, allocations: 161.5 kB / 0.8262 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.6096, allocations: 4 kB / 0.8262 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6096, allocations: 7.938 kB / 0.8262 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6096, allocations: 0 / 0.8262 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.6097, allocations: 27.95 kB / 0.8262 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6097, allocations: 4 kB / 0.8262 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.6099, allocations: 19.88 kB / 0.8262 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.6099, allocations: 8 kB / 0.8262 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001917/0.6101, allocations: 148.1 kB / 0.8264 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001481/0.6103, allocations: 93.11 kB / 0.8265 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002277/0.6105, allocations: 115.4 kB / 0.8266 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.6105, allocations: 4 kB / 0.8266 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002964/0.6108, allocations: 157.3 kB / 0.8267 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.6109, allocations: 15.97 kB / 0.8268 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-06/0.6109, allocations: 3.938 kB / 0.8268 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-06/0.6109, allocations: 0 / 0.8268 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.611, allocations: 19.98 kB / 0.8268 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.611, allocations: 4 kB / 0.8268 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.6112, allocations: 19.92 kB / 0.8268 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.6112, allocations: 8 kB / 0.8268 GB, free: 9.582 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.753e-05/0.6113, allocations: 197 kB / 0.827 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.6113, allocations: 27.8 kB / 0.827 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.6117, allocations: 155.3 kB / 0.8272 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6117, allocations: 0 / 0.8272 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6117, allocations: 0 / 0.8272 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6117, allocations: 4 kB / 0.8272 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.6125, allocations: 0.586 MB / 0.8277 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6125, allocations: 4.125 kB / 0.8277 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.6126, allocations: 20.2 kB / 0.8278 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6126, allocations: 8 kB / 0.8278 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.6127, allocations: 8 kB / 0.8278 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6127, allocations: 3.938 kB / 0.8278 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6127, allocations: 8.219 kB / 0.8278 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.613, allocations: 297.2 kB / 0.8281 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.6131, allocations: 112.9 kB / 0.8282 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.6132, allocations: 0 / 0.8282 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.6133, allocations: 15.98 kB / 0.8282 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.6134, allocations: 23.86 kB / 0.8282 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.6134, allocations: 8 kB / 0.8282 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001612/0.6136, allocations: 193.9 kB / 0.8284 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6136, allocations: 0 / 0.8284 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000421/0.614, allocations: 95.83 kB / 0.8285 GB, free: 7.691 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008363/0.6149, allocations: 0.8964 MB / 0.8294 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.6153, allocations: 167.7 kB / 0.8295 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6153, allocations: 0 / 0.8295 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.6155, allocations: 68.45 kB / 0.8296 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.6161, allocations: 121.3 kB / 0.8297 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.6187, allocations: 2.353 MB / 0.832 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.619, allocations: 0.7519 MB / 0.8328 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.6192, allocations: 74.53 kB / 0.8328 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.6193, allocations: 71.41 kB / 0.8329 GB, free: 3 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.6193, allocations: 0 / 0.8329 GB, free: 3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.6444, allocations: 6.889 MB / 0.8396 GB, free: 12.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/8.185, allocations: 16.05 kB / 0.8396 GB, free: 12.29 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)