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.004307/0.004307, allocations: 96.7 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.001034/0.001034, allocations: 194.1 kB / 16.67 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9102/0.9102, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3879, allocations: 80.92 MB / 0.6642 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.009023/0.3969, allocations: 10.13 MB / 0.674 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002729/0.3997, allocations: 2.214 MB / 0.6762 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.3999, allocations: 8.844 kB / 0.6762 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.4003, allocations: 101.9 kB / 0.6763 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.4008, allocations: 273.4 kB / 0.6766 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.4015, allocations: 230.5 kB / 0.6768 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.402, allocations: 431.6 kB / 0.6772 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.4022, allocations: 143 kB / 0.6773 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.4026, allocations: 220.3 kB / 0.6776 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.4028, allocations: 114.1 kB / 0.6777 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.4028, allocations: 14.28 kB / 0.6777 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.4032, allocations: 157.9 kB / 0.6778 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.4032, allocations: 38.7 kB / 0.6779 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.4034, allocations: 68.86 kB / 0.6779 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.4038, allocations: 260.4 kB / 0.6782 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4038, allocations: 1.125 kB / 0.6782 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4038, allocations: 4 kB / 0.6782 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.4038, allocations: 0 / 0.6782 GB, free: 12.01 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.000626/0.4044, allocations: 481.9 kB / 0.6786 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4045, allocations: 8.469 kB / 0.6786 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.4045, allocations: 41.98 kB / 0.6787 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.4046, allocations: 22.92 kB / 0.6787 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.4049, allocations: 260 kB / 0.679 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.405, allocations: 12.28 kB / 0.679 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.405, allocations: 11.31 kB / 0.679 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.4053, allocations: 141.9 kB / 0.6791 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4053, allocations: 1.156 kB / 0.6791 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4054, allocations: 5.125 kB / 0.6791 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4054, allocations: 6.219 kB / 0.6791 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.4056, allocations: 85.53 kB / 0.6792 GB, free: 11.07 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.0008287/0.4065, allocations: 0.5395 MB / 0.6797 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4067, allocations: 94.27 kB / 0.6798 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4068, allocations: 56.31 kB / 0.6799 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003492/0.4072, allocations: 335.2 kB / 0.6802 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.4072, allocations: 35.84 kB / 0.6802 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.4072, allocations: 0 / 0.6802 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005151/0.4077, allocations: 166.5 kB / 0.6804 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.4078, allocations: 78.61 kB / 0.6805 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.408, allocations: 187.2 kB / 0.6806 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.408, allocations: 27.7 kB / 0.6807 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.4081, allocations: 124 kB / 0.6808 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.4081, allocations: 29.92 kB / 0.6808 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.4082, allocations: 22.72 kB / 0.6808 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4083, allocations: 326.2 kB / 0.6812 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.4084, allocations: 31.38 kB / 0.6812 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.4086, allocations: 85.66 kB / 0.6813 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.4088, allocations: 92.98 kB / 0.6814 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4088, allocations: 5.031 kB / 0.6814 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003025/0.4091, allocations: 136.5 kB / 0.6815 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4091, allocations: 5.625 kB / 0.6815 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4091, allocations: 0 / 0.6815 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4092, allocations: 6.188 kB / 0.6815 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.4094, allocations: 38.64 kB / 0.6815 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4094, allocations: 1.031 kB / 0.6815 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4095, allocations: 12.33 kB / 0.6815 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.4096, allocations: 3 kB / 0.6815 GB, free: 8.91 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.000111/0.4097, allocations: 135.7 kB / 0.6817 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.4098, allocations: 14.19 kB / 0.6817 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.4101, allocations: 142.8 kB / 0.6818 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4101, allocations: 2.219 kB / 0.6818 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4101, allocations: 0 / 0.6818 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4101, allocations: 1.062 kB / 0.6818 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.4107, allocations: 473 kB / 0.6823 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4107, allocations: 1.281 kB / 0.6823 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.4109, allocations: 36.14 kB / 0.6823 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4109, allocations: 1.094 kB / 0.6823 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.411, allocations: 2.094 kB / 0.6823 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.411, allocations: 10.42 kB / 0.6823 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.411, allocations: 5.062 kB / 0.6823 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.4114, allocations: 341.7 kB / 0.6827 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.4115, allocations: 108.5 kB / 0.6828 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.4116, allocations: 10.11 kB / 0.6828 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4117, allocations: 8.875 kB / 0.6828 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.4118, allocations: 12.23 kB / 0.6828 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4118, allocations: 4.281 kB / 0.6828 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001216/0.4119, allocations: 140.3 kB / 0.6829 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4119, allocations: 3.938 kB / 0.6829 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000388/0.4123, allocations: 48.06 kB / 0.683 GB, free: 7.664 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.0009656/0.4133, allocations: 0.9529 MB / 0.6839 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.4136, allocations: 102.6 kB / 0.684 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4136, allocations: 1.188 kB / 0.684 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.4138, allocations: 62.7 kB / 0.6841 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.4144, allocations: 75.91 kB / 0.6841 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4167, allocations: 1.973 MB / 0.6861 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.417, allocations: 0.7261 MB / 0.6868 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.523e-05/0.4171, allocations: 27.8 kB / 0.6868 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.4172, allocations: 51.36 kB / 0.6869 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4172, allocations: 0 / 0.6869 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.4388, allocations: 5.277 MB / 0.692 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.911, allocations: 7.562 kB / 0.692 GB, free: 1.508 MB / 0.5137 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)