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.001271/0.001271, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.724/0.724, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 54.56 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3269, allocations: 80.21 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1608/0.4877, allocations: 161.5 MB / 0.7379 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.4904, allocations: 1.709 MB / 0.7396 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.4907, allocations: 7.938 kB / 0.7396 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.4912, allocations: 167 kB / 0.7398 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.4923, allocations: 0.5094 MB / 0.7403 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.4933, allocations: 412.4 kB / 0.7406 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006684/0.494, allocations: 0.5654 MB / 0.7412 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.4943, allocations: 188.3 kB / 0.7414 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005214/0.4949, allocations: 318.8 kB / 0.7417 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.4951, allocations: 155.2 kB / 0.7418 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.4951, allocations: 12 kB / 0.7418 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.4961, allocations: 0.6898 MB / 0.7425 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.4963, allocations: 75.78 kB / 0.7426 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.4964, allocations: 123.3 kB / 0.7427 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.4971, allocations: 0.4908 MB / 0.7432 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4971, allocations: 0 / 0.7432 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4971, allocations: 4 kB / 0.7432 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4971, allocations: 0 / 0.7432 GB, free: 10.03 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007138/0.4978, allocations: 0.5762 MB / 0.7437 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.4979, allocations: 11.97 kB / 0.7438 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.4979, allocations: 50.55 kB / 0.7438 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.4983, allocations: 63.52 kB / 0.7439 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.4986, allocations: 281.4 kB / 0.7441 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.4986, allocations: 12 kB / 0.7441 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.4986, allocations: 16 kB / 0.7442 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.499, allocations: 193.5 kB / 0.7443 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.499, allocations: 3.938 kB / 0.7444 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.499, allocations: 8 kB / 0.7444 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.499, allocations: 4 kB / 0.7444 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.4993, allocations: 131.8 kB / 0.7445 GB, free: 8.582 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.0009008/0.5002, allocations: 0.7848 MB / 0.7453 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.5005, allocations: 82.59 kB / 0.7453 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.5006, allocations: 68.81 kB / 0.7454 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.501, allocations: 194.2 kB / 0.7456 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.501, allocations: 34.5 kB / 0.7456 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.501, allocations: 0 / 0.7456 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006394/0.5017, allocations: 225.2 kB / 0.7458 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.5017, allocations: 51.41 kB / 0.7459 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.5019, allocations: 274.9 kB / 0.7461 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.502, allocations: 25.7 kB / 0.7462 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.5021, allocations: 155.6 kB / 0.7463 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.5021, allocations: 27.56 kB / 0.7463 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.5022, allocations: 29.7 kB / 0.7464 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.5023, allocations: 334.8 kB / 0.7467 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.5024, allocations: 48.83 kB / 0.7467 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.5026, allocations: 89.11 kB / 0.7468 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.5028, allocations: 131.3 kB / 0.7469 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5028, allocations: 0 / 0.7469 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003369/0.5032, allocations: 161.2 kB / 0.7471 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5032, allocations: 4 kB / 0.7471 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5032, allocations: 0 / 0.7471 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.5032, allocations: 7.938 kB / 0.7471 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5034, allocations: 24.02 kB / 0.7471 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5034, allocations: 0 / 0.7471 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.5035, allocations: 23.83 kB / 0.7472 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.5036, allocations: 8 kB / 0.7472 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001807/0.5038, allocations: 144.1 kB / 0.7473 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001554/0.5039, allocations: 97.17 kB / 0.7474 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002371/0.5042, allocations: 119.4 kB / 0.7475 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.5042, allocations: 0 / 0.7475 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003192/0.5045, allocations: 162.1 kB / 0.7477 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.5045, allocations: 11.97 kB / 0.7477 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.5045, allocations: 7.938 kB / 0.7477 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.5045, allocations: 0 / 0.7477 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.5047, allocations: 19.98 kB / 0.7477 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.5047, allocations: 4 kB / 0.7477 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.5048, allocations: 15.97 kB / 0.7477 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.5049, allocations: 4 kB / 0.7477 GB, free: 5.004 MB / 0.5762 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 8.367e-05/0.505, allocations: 192.1 kB / 0.7479 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.505, allocations: 27.66 kB / 0.7479 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.5054, allocations: 163.3 kB / 0.7481 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5054, allocations: 0 / 0.7481 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5054, allocations: 0 / 0.7481 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.5054, allocations: 0 / 0.7481 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008099/0.5062, allocations: 0.5899 MB / 0.7487 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5062, allocations: 4 kB / 0.7487 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.5063, allocations: 19.98 kB / 0.7487 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5063, allocations: 12.16 kB / 0.7487 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.5064, allocations: 0 / 0.7487 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5064, allocations: 4 kB / 0.7487 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5064, allocations: 4 kB / 0.7487 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.5067, allocations: 297.1 kB / 0.749 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-05/0.5068, allocations: 112.8 kB / 0.7491 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.5069, allocations: 4 kB / 0.7491 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.5071, allocations: 15.98 kB / 0.7491 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.5071, allocations: 19.86 kB / 0.7491 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.5071, allocations: 4 kB / 0.7491 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001696/0.5073, allocations: 197.9 kB / 0.7493 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5073, allocations: 4 kB / 0.7493 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004374/0.5078, allocations: 95.84 kB / 0.7494 GB, free: 3.117 MB / 0.5762 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.000804/0.5086, allocations: 0.8901 MB / 0.7503 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.509, allocations: 171.7 kB / 0.7505 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5091, allocations: 0 / 0.7505 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.5092, allocations: 68.45 kB / 0.7505 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.5099, allocations: 113.8 kB / 0.7506 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.5124, allocations: 2.352 MB / 0.7529 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.5127, allocations: 0.748 MB / 0.7537 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002099/0.5129, allocations: 82.5 kB / 0.7537 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.513, allocations: 63.42 kB / 0.7538 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.513, allocations: 0 / 0.7538 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.535, allocations: 6.826 MB / 0.7605 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.524, allocations: 9.797 kB / 0.7605 GB, free: 7.773 MB / 0.5919 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)