Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_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.009024/0.009024, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.001909/0.001909, allocations: 199.2 kB / 16.68 MB, free: 5.977 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8027/0.8027, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 71.89 kB / 0.5808 GB, free: 8.102 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4551, allocations: 80.2 MB / 0.6592 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01953/0.4747, allocations: 10.13 MB / 0.6691 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005069/0.4798, allocations: 2.216 MB / 0.6712 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.4804, allocations: 9.188 kB / 0.6712 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.4811, allocations: 98.05 kB / 0.6713 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.4823, allocations: 272.8 kB / 0.6716 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.4836, allocations: 228.6 kB / 0.6718 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000991/0.4846, allocations: 435 kB / 0.6722 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/0.4851, allocations: 144.8 kB / 0.6724 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009027/0.4861, allocations: 224.8 kB / 0.6726 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.4864, allocations: 110.8 kB / 0.6727 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.4864, allocations: 10.03 kB / 0.6727 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.4872, allocations: 161.8 kB / 0.6728 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.4873, allocations: 38.62 kB / 0.6729 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.4875, allocations: 72.19 kB / 0.673 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007958/0.4883, allocations: 258.2 kB / 0.6732 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4884, allocations: 1.156 kB / 0.6732 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4884, allocations: 4 kB / 0.6732 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.4884, allocations: 0 / 0.6732 GB, free: 15.07 MB / 0.5137 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.001006/0.4894, allocations: 481.6 kB / 0.6737 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.4895, allocations: 8.844 kB / 0.6737 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.4896, allocations: 42.55 kB / 0.6737 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.4897, allocations: 18.22 kB / 0.6737 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.4904, allocations: 258.7 kB / 0.674 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.4904, allocations: 17.66 kB / 0.674 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.4905, allocations: 11.81 kB / 0.674 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.4911, allocations: 134.2 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.4911, allocations: 1.281 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.4911, allocations: 4 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4912, allocations: 7.188 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.4916, allocations: 88.34 kB / 0.6742 GB, free: 14.14 MB / 0.5137 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.001418/0.4931, allocations: 0.5412 MB / 0.6748 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.4935, allocations: 90.3 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.4937, allocations: 55.66 kB / 0.6749 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.4942, allocations: 334.6 kB / 0.6752 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.4943, allocations: 39.97 kB / 0.6753 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.905e-06/0.4943, allocations: 0 / 0.6753 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0009451/0.4953, allocations: 158.8 kB / 0.6754 GB, free: 13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.4954, allocations: 82.2 kB / 0.6755 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.4957, allocations: 184.7 kB / 0.6757 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.4957, allocations: 26.92 kB / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4958, allocations: 127.7 kB / 0.6758 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.4959, allocations: 23.02 kB / 0.6758 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.496, allocations: 26.45 kB / 0.6759 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4962, allocations: 322.1 kB / 0.6762 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.4964, allocations: 34.25 kB / 0.6762 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.4967, allocations: 78.41 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.4972, allocations: 102 kB / 0.6764 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4972, allocations: 0 / 0.6764 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000609/0.4978, allocations: 132.8 kB / 0.6765 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.4978, allocations: 5.438 kB / 0.6765 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4979, allocations: 0 / 0.6765 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.4979, allocations: 1.312 kB / 0.6765 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.4983, allocations: 39.95 kB / 0.6765 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4983, allocations: 1.375 kB / 0.6765 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4986, allocations: 15.36 kB / 0.6766 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.4986, allocations: 3.625 kB / 0.6766 GB, free: 11.99 MB / 0.5137 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.0002093/0.4989, allocations: 139 kB / 0.6767 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.499, allocations: 14.59 kB / 0.6767 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.4994, allocations: 139.1 kB / 0.6768 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.4995, allocations: 9.844 kB / 0.6768 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4995, allocations: 0 / 0.6768 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4995, allocations: 1.031 kB / 0.6768 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5006, allocations: 473.2 kB / 0.6773 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.5007, allocations: 1.094 kB / 0.6773 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.5011, allocations: 44.58 kB / 0.6773 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.5011, allocations: 1.562 kB / 0.6773 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.5011, allocations: 1.344 kB / 0.6773 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.5011, allocations: 2.5 kB / 0.6773 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/0.5012, allocations: 8.984 kB / 0.6774 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.502, allocations: 343.8 kB / 0.6777 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.5021, allocations: 105.1 kB / 0.6778 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.5022, allocations: 9.391 kB / 0.6778 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.5025, allocations: 9.281 kB / 0.6778 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.5026, allocations: 12.36 kB / 0.6778 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.5026, allocations: 3.469 kB / 0.6778 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002187/0.5029, allocations: 140.6 kB / 0.6779 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5029, allocations: 0 / 0.6779 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007347/0.5036, allocations: 48.75 kB / 0.678 GB, free: 10.75 MB / 0.5137 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.001785/0.5054, allocations: 0.9551 MB / 0.6789 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000618/0.5061, allocations: 103.5 kB / 0.679 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5061, allocations: 1.219 kB / 0.679 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.5064, allocations: 61.67 kB / 0.6791 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.5076, allocations: 78.5 kB / 0.6792 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.512, allocations: 1.985 MB / 0.6811 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.5125, allocations: 0.726 MB / 0.6818 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.5127, allocations: 27.31 kB / 0.6818 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5129, allocations: 47.08 kB / 0.6819 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of SimCode: time 1.543e-06/0.5129, allocations: 0 / 0.6819 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.5497, allocations: 5.275 MB / 0.687 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.9/10.45, allocations: 3.156 kB / 0.687 GB, free: 4.645 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)