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.008338/0.008338, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.001912/0.001912, allocations: 196.4 kB / 16.68 MB, free: 5.484 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002513/0.002513, allocations: 282.4 kB / 290.8 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.5074 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 95.84 kB / 0.6943 GB, free: 3.684 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.5476, allocations: 89.13 MB / 0.7813 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01885/0.5665, allocations: 14.79 MB / 0.7958 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00584/0.5724, allocations: 3.72 MB / 0.7994 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004826/0.5729, allocations: 15.97 kB / 0.7994 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.5736, allocations: 162.7 kB / 0.7996 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.5748, allocations: 398.7 kB / 0.7999 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.5759, allocations: 331.6 kB / 0.8003 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009933/0.5769, allocations: 0.7793 MB / 0.801 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.5774, allocations: 300.7 kB / 0.8013 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007255/0.5781, allocations: 380.1 kB / 0.8017 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.5784, allocations: 224.2 kB / 0.8019 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.5785, allocations: 25.12 kB / 0.8019 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.579, allocations: 235.1 kB / 0.8021 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.5791, allocations: 73.7 kB / 0.8022 GB, free: 15 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.5793, allocations: 139.8 kB / 0.8023 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.58, allocations: 425.9 kB / 0.8027 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.58, allocations: 0 / 0.8027 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.523e-06/0.58, allocations: 1.062 kB / 0.8027 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.58, allocations: 0 / 0.8027 GB, free: 14.64 MB / 0.5763 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.0009785/0.581, allocations: 0.6186 MB / 0.8033 GB, free: 14.08 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5811, allocations: 9.469 kB / 0.8033 GB, free: 14.08 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.162e-05/0.5811, allocations: 58.52 kB / 0.8034 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.5812, allocations: 34.19 kB / 0.8034 GB, free: 14.01 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.5818, allocations: 332.3 kB / 0.8038 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.5818, allocations: 18.56 kB / 0.8038 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.5819, allocations: 19.66 kB / 0.8038 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/0.5825, allocations: 258.8 kB / 0.804 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5825, allocations: 9.062 kB / 0.804 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.5825, allocations: 10.22 kB / 0.8041 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.5825, allocations: 4.469 kB / 0.8041 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.583, allocations: 174.6 kB / 0.8042 GB, free: 13.44 MB / 0.5763 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.001353/0.5844, allocations: 0.8312 MB / 0.805 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.5848, allocations: 140.7 kB / 0.8052 GB, free: 12.61 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.585, allocations: 89.83 kB / 0.8053 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/0.5855, allocations: 0.4963 MB / 0.8057 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.5855, allocations: 36.66 kB / 0.8058 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.5855, allocations: 0 / 0.8058 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of matching and sorting (n=12): time 0.0008588/0.5864, allocations: 267.9 kB / 0.806 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.5865, allocations: 78.17 kB / 0.8061 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.5868, allocations: 269.8 kB / 0.8064 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.5868, allocations: 31.14 kB / 0.8064 GB, free: 11.48 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.587, allocations: 164.2 kB / 0.8066 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.587, allocations: 48.86 kB / 0.8066 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.5871, allocations: 35.92 kB / 0.8066 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5873, allocations: 332.7 kB / 0.8069 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.5875, allocations: 60.62 kB / 0.807 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.5878, allocations: 124.4 kB / 0.8071 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.5882, allocations: 176.5 kB / 0.8073 GB, free: 10.69 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5882, allocations: 0 / 0.8073 GB, free: 10.69 MB / 0.5763 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005323/0.5888, allocations: 215.7 kB / 0.8075 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5888, allocations: 5.875 kB / 0.8075 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5888, allocations: 1.25 kB / 0.8075 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5888, allocations: 5.25 kB / 0.8075 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.5891, allocations: 55.25 kB / 0.8076 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5891, allocations: 2.188 kB / 0.8076 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.5893, allocations: 36.5 kB / 0.8076 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.5894, allocations: 6.312 kB / 0.8076 GB, free: 10.52 MB / 0.5763 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.0001485/0.5895, allocations: 150.1 kB / 0.8077 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.5896, allocations: 24.89 kB / 0.8078 GB, free: 10.37 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.5899, allocations: 181.3 kB / 0.8079 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.5899, allocations: 2.844 kB / 0.8079 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5899, allocations: 0.875 kB / 0.8079 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.59, allocations: 5.234 kB / 0.808 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008236/0.5908, allocations: 0.5982 MB / 0.8085 GB, free: 9.723 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5908, allocations: 1.312 kB / 0.8085 GB, free: 9.723 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.5911, allocations: 53.47 kB / 0.8086 GB, free: 9.703 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5911, allocations: 6.906 kB / 0.8086 GB, free: 9.699 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5911, allocations: 2.219 kB / 0.8086 GB, free: 9.699 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5911, allocations: 2.531 kB / 0.8086 GB, free: 9.699 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5911, allocations: 2.125 kB / 0.8086 GB, free: 9.699 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.5918, allocations: 457.5 kB / 0.809 GB, free: 9.336 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.5919, allocations: 120.8 kB / 0.8092 GB, free: 9.211 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.5919, allocations: 6.453 kB / 0.8092 GB, free: 9.207 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.5922, allocations: 17.2 kB / 0.8092 GB, free: 9.199 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.5922, allocations: 19.2 kB / 0.8092 GB, free: 9.188 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.5923, allocations: 13.67 kB / 0.8092 GB, free: 9.18 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.000209/0.5925, allocations: 196.7 kB / 0.8094 GB, free: 9.047 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5925, allocations: 1.062 kB / 0.8094 GB, free: 9.047 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004591/0.5929, allocations: 89.39 kB / 0.8095 GB, free: 9.023 MB / 0.5763 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.001384/0.5943, allocations: 1.078 MB / 0.8105 GB, free: 8.094 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.5949, allocations: 176.7 kB / 0.8107 GB, free: 8.016 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5949, allocations: 4.188 kB / 0.8107 GB, free: 8.012 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.5952, allocations: 102.7 kB / 0.8108 GB, free: 7.969 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007966/0.596, allocations: 113.4 kB / 0.8109 GB, free: 7.906 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.5996, allocations: 2.646 MB / 0.8135 GB, free: 5.852 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.6, allocations: 0.776 MB / 0.8143 GB, free: 5.109 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.6002, allocations: 57.38 kB / 0.8143 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.6003, allocations: 86.44 kB / 0.8144 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of SimCode: time 2.51e-07/0.6003, allocations: 0 / 0.8144 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.6303, allocations: 8.162 MB / 0.8224 GB, free: 0.957 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.84, allocations: 7.734 kB / 0.8224 GB, free: 0.9531 MB / 0.5763 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)