Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_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.005331/0.005331, allocations: 97.64 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.00145/0.00145, allocations: 197.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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 282.6 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9748/0.9748, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 92.12 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1621, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.323/0.4851, allocations: 14.76 MB / 0.7803 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003874/0.489, allocations: 3.735 MB / 0.784 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.4895, allocations: 16.75 kB / 0.784 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.49, allocations: 169.3 kB / 0.7841 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008629/0.4908, allocations: 395.4 kB / 0.7845 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.4917, allocations: 331.7 kB / 0.7848 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007264/0.4924, allocations: 0.7714 MB / 0.7856 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.4928, allocations: 302.9 kB / 0.7859 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/0.4934, allocations: 381.4 kB / 0.7862 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.4936, allocations: 215 kB / 0.7864 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.4937, allocations: 20.53 kB / 0.7865 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.4941, allocations: 234 kB / 0.7867 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.4942, allocations: 79.23 kB / 0.7868 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.4944, allocations: 141.8 kB / 0.7869 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.4951, allocations: 447.5 kB / 0.7873 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4951, allocations: 0 / 0.7873 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4951, allocations: 0.75 kB / 0.7873 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.4951, allocations: 0 / 0.7873 GB, free: 4.309 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007935/0.4959, allocations: 0.6132 MB / 0.7879 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.496, allocations: 10.11 kB / 0.7879 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.496, allocations: 55.55 kB / 0.788 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.4961, allocations: 37.88 kB / 0.788 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.4966, allocations: 333.6 kB / 0.7883 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.4966, allocations: 18.56 kB / 0.7883 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.4966, allocations: 20.03 kB / 0.7884 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.4972, allocations: 257.6 kB / 0.7886 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4972, allocations: 3.938 kB / 0.7886 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.4973, allocations: 10.31 kB / 0.7886 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4973, allocations: 6.234 kB / 0.7886 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.4978, allocations: 186.3 kB / 0.7888 GB, free: 3.258 MB / 0.5606 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.001165/0.4989, allocations: 0.8374 MB / 0.7896 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.4993, allocations: 134.6 kB / 0.7898 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.4995, allocations: 95.48 kB / 0.7898 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.4998, allocations: 0.4897 MB / 0.7903 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.4998, allocations: 35.81 kB / 0.7904 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.4998, allocations: 0 / 0.7904 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007563/0.5006, allocations: 260.6 kB / 0.7906 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.5006, allocations: 80.81 kB / 0.7907 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.5009, allocations: 262.5 kB / 0.7909 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5009, allocations: 36.52 kB / 0.791 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.501, allocations: 170.7 kB / 0.7911 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.501, allocations: 48.58 kB / 0.7912 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.5011, allocations: 34.27 kB / 0.7912 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.5012, allocations: 332.7 kB / 0.7915 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.5014, allocations: 61.86 kB / 0.7916 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.5016, allocations: 120.3 kB / 0.7917 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.502, allocations: 171.7 kB / 0.7919 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.502, allocations: 0.875 kB / 0.7919 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004847/0.5025, allocations: 216.9 kB / 0.7921 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5026, allocations: 6.688 kB / 0.7921 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5026, allocations: 0 / 0.7921 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.5026, allocations: 3.922 kB / 0.7921 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.5029, allocations: 53.81 kB / 0.7921 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.5029, allocations: 3.625 kB / 0.7921 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.5031, allocations: 29.31 kB / 0.7922 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.5031, allocations: 8.281 kB / 0.7922 GB, free: 0.7578 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001127/0.5033, allocations: 146.9 kB / 0.7923 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.5033, allocations: 34.34 kB / 0.7923 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.5036, allocations: 184.7 kB / 0.7925 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.5036, allocations: 1.641 kB / 0.7925 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5037, allocations: 2.969 kB / 0.7925 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5037, allocations: 5.812 kB / 0.7925 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.5043, allocations: 0.5976 MB / 0.7931 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5044, allocations: 0 / 0.7931 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.5046, allocations: 57.45 kB / 0.7932 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5046, allocations: 96 / 0.7932 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.5046, allocations: 7.469 kB / 0.7932 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5046, allocations: 3.5 kB / 0.7932 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5046, allocations: 3.469 kB / 0.7932 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.5053, allocations: 447 kB / 0.7936 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.5055, allocations: 128.9 kB / 0.7937 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.5055, allocations: 7.469 kB / 0.7937 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.5057, allocations: 18.97 kB / 0.7938 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.5058, allocations: 19.34 kB / 0.7938 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.5058, allocations: 6.922 kB / 0.7938 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002226/0.5061, allocations: 197.1 kB / 0.794 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5061, allocations: 0 / 0.794 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004961/0.5066, allocations: 92.59 kB / 0.7941 GB, free: 15.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001338/0.5079, allocations: 1.066 MB / 0.7951 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.5084, allocations: 181.9 kB / 0.7953 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5084, allocations: 0 / 0.7953 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.5087, allocations: 107.8 kB / 0.7954 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.5095, allocations: 116.6 kB / 0.7955 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.5131, allocations: 2.641 MB / 0.7981 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.5135, allocations: 0.774 MB / 0.7988 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.5137, allocations: 59.44 kB / 0.7989 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.5138, allocations: 84.91 kB / 0.799 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.5138, allocations: 0 / 0.799 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.5459, allocations: 8.145 MB / 0.8069 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.187, allocations: 13.75 kB / 0.8069 GB, free: 10.95 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)