Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.001192/0.001192, allocations: 108 kB / 15.6 MB, free: 132 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.0012/0.0012, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9375/0.9375, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 60.44 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1589, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01257/0.1715, allocations: 10.12 MB / 0.5944 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00329/0.1748, allocations: 2.222 MB / 0.5965 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.1751, allocations: 11.94 kB / 0.5965 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.1756, allocations: 99.23 kB / 0.5966 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.1763, allocations: 254.7 kB / 0.5969 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.177, allocations: 216.3 kB / 0.5971 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006022/0.1776, allocations: 435.5 kB / 0.5975 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.1779, allocations: 148.3 kB / 0.5976 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/0.1784, allocations: 207.1 kB / 0.5978 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.1787, allocations: 119.4 kB / 0.5979 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.1787, allocations: 8 kB / 0.598 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.1791, allocations: 163.7 kB / 0.5981 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.1792, allocations: 31.91 kB / 0.5981 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1793, allocations: 79.53 kB / 0.5982 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.1798, allocations: 243.3 kB / 0.5985 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1798, allocations: 4 kB / 0.5985 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1798, allocations: 0 / 0.5985 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.1798, allocations: 0 / 0.5985 GB, free: 6.07 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006833/0.1805, allocations: 482.7 kB / 0.5989 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1806, allocations: 8.031 kB / 0.5989 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.387e-05/0.1806, allocations: 42.73 kB / 0.599 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.1807, allocations: 16.75 kB / 0.599 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.181, allocations: 240.4 kB / 0.5992 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1811, allocations: 20.11 kB / 0.5992 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1811, allocations: 12 kB / 0.5992 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.1815, allocations: 134.6 kB / 0.5994 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1815, allocations: 0 / 0.5994 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1815, allocations: 7.984 kB / 0.5994 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1815, allocations: 4 kB / 0.5994 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.1818, allocations: 99.84 kB / 0.5995 GB, free: 4.922 MB / 0.4981 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.0009174/0.1827, allocations: 0.5276 MB / 0.6 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.183, allocations: 101 kB / 0.6001 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1831, allocations: 57.8 kB / 0.6001 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.1835, allocations: 332.4 kB / 0.6005 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1835, allocations: 34.56 kB / 0.6005 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.1835, allocations: 0 / 0.6005 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005607/0.1841, allocations: 169.3 kB / 0.6007 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1842, allocations: 81.05 kB / 0.6007 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1844, allocations: 179.8 kB / 0.6009 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1844, allocations: 29.83 kB / 0.6009 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1846, allocations: 124.2 kB / 0.601 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1846, allocations: 23.66 kB / 0.6011 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.1847, allocations: 25.7 kB / 0.6011 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1848, allocations: 322.8 kB / 0.6014 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.185, allocations: 35.97 kB / 0.6014 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.1851, allocations: 71.39 kB / 0.6015 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.1854, allocations: 94.45 kB / 0.6016 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1854, allocations: 3.938 kB / 0.6016 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003051/0.1857, allocations: 133.4 kB / 0.6017 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1857, allocations: 4 kB / 0.6017 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1857, allocations: 4 kB / 0.6017 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1858, allocations: 0 / 0.6017 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.186, allocations: 43.89 kB / 0.6018 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.186, allocations: 0 / 0.6018 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.1861, allocations: 20.08 kB / 0.6018 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1862, allocations: 12 kB / 0.6018 GB, free: 2.285 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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 0.0001144/0.1863, allocations: 127.1 kB / 0.6019 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.1863, allocations: 19.89 kB / 0.6019 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.1866, allocations: 138.2 kB / 0.6021 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1866, allocations: 0 / 0.6021 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1866, allocations: 4 kB / 0.6021 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1866, allocations: 96 / 0.6021 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.1872, allocations: 480.7 kB / 0.6025 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1873, allocations: 0 / 0.6025 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.1875, allocations: 39.95 kB / 0.6026 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.1875, allocations: 4 kB / 0.6026 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1875, allocations: 0 / 0.6026 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1875, allocations: 7.938 kB / 0.6026 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1875, allocations: 4.094 kB / 0.6026 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.188, allocations: 345 kB / 0.6029 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.1881, allocations: 101 kB / 0.603 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1881, allocations: 0 / 0.603 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1883, allocations: 15.98 kB / 0.603 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.1883, allocations: 7.938 kB / 0.603 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1883, allocations: 7.984 kB / 0.603 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001383/0.1885, allocations: 144.8 kB / 0.6032 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1885, allocations: 0 / 0.6032 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004155/0.1889, allocations: 55.84 kB / 0.6032 GB, free: 0.6914 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.288/0.4769, allocations: 0.9346 MB / 0.6042 GB, free: 53.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005947/0.4776, allocations: 103.8 kB / 0.6043 GB, free: 53.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4776, allocations: 0 / 0.6043 GB, free: 53.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.4778, allocations: 69.17 kB / 0.6043 GB, free: 53.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.4789, allocations: 73.27 kB / 0.6044 GB, free: 53.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.4818, allocations: 1.968 MB / 0.6063 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.482, allocations: 0.726 MB / 0.607 GB, free: 51.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.4822, allocations: 37.88 kB / 0.6071 GB, free: 51.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.4823, allocations: 43.8 kB / 0.6071 GB, free: 51.14 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.4823, allocations: 0 / 0.6071 GB, free: 51.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.5083, allocations: 5.203 MB / 0.6122 GB, free: 50.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/8.099, allocations: 12.75 kB / 0.6122 GB, free: 50.59 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)