Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.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.Validation.PressureDropsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries",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.004474/0.004474, allocations: 99.55 kB / 15.73 MB, free: 6.445 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.001227/0.001227, allocations: 195.2 kB / 16.67 MB, free: 6.352 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9586/0.9586, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.89 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4287, allocations: 80.92 MB / 0.6642 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1734/0.6022, allocations: 161.5 MB / 0.8219 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003118/0.6053, allocations: 1.719 MB / 0.8236 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.6057, allocations: 7.938 kB / 0.8236 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.6064, allocations: 166.9 kB / 0.8237 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.6077, allocations: 0.5406 MB / 0.8243 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.6089, allocations: 423.5 kB / 0.8247 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002568/0.6115, allocations: 2.468 MB / 0.8271 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.6129, allocations: 0.9254 MB / 0.828 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.6145, allocations: 0.942 MB / 0.8289 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.6157, allocations: 0.7156 MB / 0.8296 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.6159, allocations: 60 kB / 0.8297 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.6175, allocations: 0.7445 MB / 0.8304 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.618, allocations: 314.9 kB / 0.8307 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009594/0.619, allocations: 0.5324 MB / 0.8312 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.6208, allocations: 1.42 MB / 0.8326 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6208, allocations: 0 / 0.8326 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6208, allocations: 4 kB / 0.8326 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.174e-05/0.6209, allocations: 3.984 kB / 0.8326 GB, free: 4.633 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002558/0.6234, allocations: 1.438 MB / 0.834 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6235, allocations: 12.02 kB / 0.834 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.6236, allocations: 86.53 kB / 0.8341 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008718/0.6245, allocations: 203.1 kB / 0.8343 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.6261, allocations: 0.8499 MB / 0.8351 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.6262, allocations: 41 kB / 0.8352 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.6263, allocations: 56 kB / 0.8352 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.6275, allocations: 0.6823 MB / 0.8359 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6275, allocations: 0 / 0.8359 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.6275, allocations: 27.94 kB / 0.8359 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.6276, allocations: 19.94 kB / 0.8359 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008885/0.6285, allocations: 0.5112 MB / 0.8364 GB, free: 0.5977 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.003713/0.6322, allocations: 3.249 MB / 0.8396 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.6328, allocations: 391.6 kB / 0.84 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.6331, allocations: 240.7 kB / 0.8402 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.6334, allocations: 202.1 kB / 0.8404 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.6334, allocations: 30.56 kB / 0.8404 GB, free: 12.07 MB / 0.67 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.6334, allocations: 0 / 0.8404 GB, free: 12.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=28): time 0.004895/0.6383, allocations: 1.491 MB / 0.8419 GB, free: 10.55 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.6384, allocations: 59.39 kB / 0.8419 GB, free: 10.48 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.6399, allocations: 1.065 MB / 0.843 GB, free: 9.398 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.6399, allocations: 33.7 kB / 0.843 GB, free: 9.359 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.6402, allocations: 440.8 kB / 0.8434 GB, free: 8.926 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.6403, allocations: 107 kB / 0.8435 GB, free: 8.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.6405, allocations: 69.7 kB / 0.8436 GB, free: 8.746 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.6406, allocations: 322 kB / 0.8439 GB, free: 8.426 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.6408, allocations: 160.7 kB / 0.8441 GB, free: 8.266 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.6413, allocations: 361.2 kB / 0.8444 GB, free: 7.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.6419, allocations: 400.5 kB / 0.8448 GB, free: 7.438 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6419, allocations: 0 / 0.8448 GB, free: 7.438 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001999/0.6439, allocations: 0.7988 MB / 0.8456 GB, free: 6.629 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6439, allocations: 8 kB / 0.8456 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.6439, allocations: 0 / 0.8456 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.6454, allocations: 360.4 kB / 0.8459 GB, free: 6.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.6455, allocations: 19.92 kB / 0.8459 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000969/0.6465, allocations: 1.008 MB / 0.8469 GB, free: 5.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.647, allocations: 47.8 kB / 0.847 GB, free: 5.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.6471, allocations: 12.09 kB / 0.847 GB, free: 5.156 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005619/0.6477, allocations: 451.8 kB / 0.8474 GB, free: 4.711 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003565/0.648, allocations: 316.5 kB / 0.8477 GB, free: 4.328 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004613/0.6485, allocations: 321 kB / 0.848 GB, free: 4.004 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.6485, allocations: 0 / 0.848 GB, free: 4.004 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001149/0.6497, allocations: 0.5985 MB / 0.8486 GB, free: 3.398 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.6497, allocations: 8 kB / 0.8486 GB, free: 3.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.6497, allocations: 4 kB / 0.8486 GB, free: 3.387 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/0.6502, allocations: 200.6 kB / 0.8488 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.6503, allocations: 15.98 kB / 0.8488 GB, free: 3.172 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/0.6541, allocations: 3.307 MB / 0.8521 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.6547, allocations: 48.17 kB / 0.8521 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.6547, allocations: 8 kB / 0.8521 GB, free: 15.66 MB / 0.6856 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.6549, allocations: 204.3 kB / 0.8523 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.6551, allocations: 95.39 kB / 0.8524 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.6564, allocations: 0.7099 MB / 0.8531 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6564, allocations: 4 kB / 0.8531 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.6564, allocations: 3.938 kB / 0.8531 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.6565, allocations: 3.984 kB / 0.8531 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.6589, allocations: 1.501 MB / 0.8546 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6589, allocations: 4 kB / 0.8546 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.659, allocations: 23.92 kB / 0.8546 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.6595, allocations: 208.8 kB / 0.8548 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.6596, allocations: 16.2 kB / 0.8548 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000891/0.6605, allocations: 0.9786 MB / 0.8558 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6605, allocations: 12 kB / 0.8558 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.6616, allocations: 0.8032 MB / 0.8566 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.662, allocations: 216.4 kB / 0.8568 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.6621, allocations: 4 kB / 0.8568 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.6625, allocations: 15.98 kB / 0.8568 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.6626, allocations: 31.91 kB / 0.8568 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.6626, allocations: 12 kB / 0.8568 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009613/0.6636, allocations: 0.7708 MB / 0.8576 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6636, allocations: 0 / 0.8576 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001076/0.6647, allocations: 399.5 kB / 0.858 GB, free: 9.465 MB / 0.6856 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.6662, allocations: 1.326 MB / 0.8593 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.6677, allocations: 0.7555 MB / 0.86 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6678, allocations: 0 / 0.86 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.6682, allocations: 215.1 kB / 0.8602 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.6703, allocations: 492.2 kB / 0.8607 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3224/0.9927, allocations: 8.175 MB / 0.8687 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.9934, allocations: 1.18 MB / 0.8698 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006426/0.994, allocations: 204.6 kB / 0.87 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.9944, allocations: 308.4 kB / 0.8703 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of SimCode: time 8.91e-07/0.9944, allocations: 0 / 0.8703 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07288/1.067, allocations: 28.49 MB / 0.8981 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.22, allocations: 7.062 kB / 0.8981 GB, free: 177.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)