Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IBPSA_latest_IBPSA_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.001821/0.001821, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.00202/0.00202, allocations: 196 kB / 17.34 MB, free: 5.738 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8335/0.8335, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 73.31 kB / 0.5735 GB, free: 27.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1624, allocations: 78.86 MB / 0.6505 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01747/0.1799, allocations: 14.79 MB / 0.665 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005291/0.1852, allocations: 3.72 MB / 0.6686 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.1857, allocations: 19.88 kB / 0.6686 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.1863, allocations: 162.7 kB / 0.6688 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.1873, allocations: 398 kB / 0.6692 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1883, allocations: 325.8 kB / 0.6695 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009287/0.1893, allocations: 0.7725 MB / 0.6702 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.1898, allocations: 300.1 kB / 0.6705 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/0.1907, allocations: 466 kB / 0.671 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.1911, allocations: 218.9 kB / 0.6712 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.1911, allocations: 24 kB / 0.6712 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.1917, allocations: 223.6 kB / 0.6714 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1918, allocations: 71.8 kB / 0.6715 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.192, allocations: 143.2 kB / 0.6716 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.1926, allocations: 434.4 kB / 0.672 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1926, allocations: 0 / 0.672 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.007e-06/0.1927, allocations: 0 / 0.672 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.1927, allocations: 3.938 kB / 0.672 GB, free: 13.66 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009351/0.1936, allocations: 0.6192 MB / 0.6726 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1937, allocations: 8.031 kB / 0.6726 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/0.1937, allocations: 54.73 kB / 0.6727 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.491e-05/0.1938, allocations: 36.7 kB / 0.6727 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.1944, allocations: 331.2 kB / 0.673 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.1944, allocations: 28.38 kB / 0.6731 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.1944, allocations: 20 kB / 0.6731 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.195, allocations: 257.3 kB / 0.6733 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.195, allocations: 0 / 0.6733 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.1951, allocations: 8 kB / 0.6733 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.1951, allocations: 4 kB / 0.6733 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.1956, allocations: 180.6 kB / 0.6735 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.1969, allocations: 0.8361 MB / 0.6743 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.1973, allocations: 141.2 kB / 0.6745 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.1975, allocations: 93.64 kB / 0.6746 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004473/0.198, allocations: 0.4908 MB / 0.675 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.198, allocations: 38.5 kB / 0.6751 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.198, allocations: 4 kB / 0.6751 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0008277/0.1989, allocations: 261.3 kB / 0.6753 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.1989, allocations: 77.11 kB / 0.6754 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.1992, allocations: 267 kB / 0.6757 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.1993, allocations: 29.7 kB / 0.6757 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1994, allocations: 168.4 kB / 0.6758 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1995, allocations: 47.72 kB / 0.6759 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.1996, allocations: 41.7 kB / 0.6759 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1997, allocations: 334.8 kB / 0.6762 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.2, allocations: 63.94 kB / 0.6763 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.2002, allocations: 117.9 kB / 0.6764 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.2007, allocations: 172.1 kB / 0.6766 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2007, allocations: 0 / 0.6766 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005353/0.2012, allocations: 209.3 kB / 0.6768 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2013, allocations: 9.859 kB / 0.6768 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2013, allocations: 4.469 kB / 0.6768 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2013, allocations: 7.938 kB / 0.6768 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.2016, allocations: 51.89 kB / 0.6769 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2016, allocations: 0 / 0.6769 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.2018, allocations: 31.86 kB / 0.6769 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.2019, allocations: 12 kB / 0.6769 GB, free: 8.242 MB / 0.5137 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.0001667/0.202, allocations: 149.8 kB / 0.677 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.2021, allocations: 27.81 kB / 0.6771 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.2024, allocations: 183.2 kB / 0.6772 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.2025, allocations: 3.984 kB / 0.6772 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2025, allocations: 4 kB / 0.6773 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2025, allocations: 0 / 0.6773 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.2033, allocations: 0.5991 MB / 0.6778 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.2034, allocations: 0 / 0.6778 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.2036, allocations: 59.88 kB / 0.6779 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2036, allocations: 0 / 0.6779 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.2037, allocations: 4 kB / 0.6779 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.2037, allocations: 3.938 kB / 0.6779 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.2037, allocations: 12.06 kB / 0.6779 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.2044, allocations: 437.8 kB / 0.6783 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.2045, allocations: 128.8 kB / 0.6785 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2046, allocations: 0 / 0.6785 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.2048, allocations: 23.92 kB / 0.6785 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.2049, allocations: 7.984 kB / 0.6785 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.2049, allocations: 15.98 kB / 0.6785 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001977/0.2051, allocations: 198 kB / 0.6787 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2051, allocations: 0 / 0.6787 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004576/0.2056, allocations: 83.77 kB / 0.6788 GB, free: 6.199 MB / 0.5137 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.001363/0.2069, allocations: 1.075 MB / 0.6798 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005548/0.2075, allocations: 171.8 kB / 0.68 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2075, allocations: 4.188 kB / 0.68 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.2078, allocations: 112.1 kB / 0.6801 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/0.2087, allocations: 122.5 kB / 0.6802 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.2124, allocations: 2.631 MB / 0.6828 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.2129, allocations: 0.7753 MB / 0.6835 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002006/0.2131, allocations: 54.28 kB / 0.6836 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.2132, allocations: 91.41 kB / 0.6837 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.2132, allocations: 0 / 0.6837 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.2456, allocations: 8.124 MB / 0.6916 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/8.565, allocations: 12.55 kB / 0.6916 GB, free: 9.02 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)