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.001311/0.001316, allocations: 105.6 kB / 16.4 MB, free: 6.438 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.001472/0.001471, allocations: 195 kB / 17.34 MB, free: 5.703 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7895/0.7895, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.12 kB / 0.5679 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1512, allocations: 77.94 MB / 0.644 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01702/0.1683, allocations: 14.76 MB / 0.6585 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00492/0.1732, allocations: 3.723 MB / 0.6621 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006807/0.174, allocations: 23.88 kB / 0.6621 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006684/0.1747, allocations: 162.7 kB / 0.6623 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.176, allocations: 425.9 kB / 0.6627 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009677/0.1769, allocations: 328.7 kB / 0.663 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009371/0.1779, allocations: 0.7764 MB / 0.6638 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.1783, allocations: 292.3 kB / 0.664 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/0.1791, allocations: 394.2 kB / 0.6644 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.1794, allocations: 219 kB / 0.6646 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.1794, allocations: 27.94 kB / 0.6646 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.18, allocations: 235.5 kB / 0.6649 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1801, allocations: 63.81 kB / 0.6649 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.1802, allocations: 147.2 kB / 0.6651 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006583/0.1809, allocations: 426.5 kB / 0.6655 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1809, allocations: 0 / 0.6655 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1809, allocations: 0 / 0.6655 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1809, allocations: 0 / 0.6655 GB, free: 3.512 MB / 0.4981 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.00088/0.1818, allocations: 0.6153 MB / 0.6661 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1819, allocations: 16.56 kB / 0.6661 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.62e-05/0.1819, allocations: 54.72 kB / 0.6661 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.182, allocations: 40.73 kB / 0.6662 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.1826, allocations: 331.2 kB / 0.6665 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1827, allocations: 12.81 kB / 0.6665 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.1827, allocations: 24.38 kB / 0.6665 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/0.1833, allocations: 261.3 kB / 0.6668 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1833, allocations: 4 kB / 0.6668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.1833, allocations: 7.984 kB / 0.6668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1833, allocations: 8 kB / 0.6668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.1838, allocations: 176.6 kB / 0.667 GB, free: 1.875 MB / 0.4981 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.001201/0.185, allocations: 0.8284 MB / 0.6678 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.1854, allocations: 141.1 kB / 0.6679 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.1856, allocations: 89.66 kB / 0.668 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/0.186, allocations: 498.6 kB / 0.6685 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.1861, allocations: 46.5 kB / 0.6685 GB, free: 80 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 3.136e-06/0.1861, allocations: 0 / 0.6685 GB, free: 80 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0008116/0.1869, allocations: 265.4 kB / 0.6688 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.187, allocations: 81.27 kB / 0.6689 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1872, allocations: 267 kB / 0.6691 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1873, allocations: 29.7 kB / 0.6691 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1874, allocations: 176.4 kB / 0.6693 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.1875, allocations: 43.64 kB / 0.6693 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.1875, allocations: 33.7 kB / 0.6694 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1877, allocations: 338.8 kB / 0.6697 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.1879, allocations: 60.02 kB / 0.6698 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.1881, allocations: 121.9 kB / 0.6699 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.1885, allocations: 172.1 kB / 0.67 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1885, allocations: 0 / 0.67 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004934/0.189, allocations: 213.3 kB / 0.6702 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1891, allocations: 8 kB / 0.6702 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1891, allocations: 3.938 kB / 0.6703 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1891, allocations: 8.094 kB / 0.6703 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.1894, allocations: 55.88 kB / 0.6703 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1894, allocations: 4 kB / 0.6703 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.1896, allocations: 31.81 kB / 0.6703 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.1896, allocations: 8 kB / 0.6704 GB, free: 14.09 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.000128/0.1898, allocations: 153.8 kB / 0.6705 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.1898, allocations: 23.86 kB / 0.6705 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.1901, allocations: 187.2 kB / 0.6707 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1901, allocations: 0 / 0.6707 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1902, allocations: 0 / 0.6707 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1902, allocations: 0 / 0.6707 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.1909, allocations: 0.6069 MB / 0.6713 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1909, allocations: 4 kB / 0.6713 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.1912, allocations: 47.89 kB / 0.6713 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1912, allocations: 4 kB / 0.6713 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1912, allocations: 8 kB / 0.6714 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1912, allocations: 3.984 kB / 0.6714 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1912, allocations: 0 / 0.6714 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.1918, allocations: 447.8 kB / 0.6718 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1919, allocations: 124.9 kB / 0.6719 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.1919, allocations: 8 kB / 0.6719 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1922, allocations: 15.97 kB / 0.6719 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.1922, allocations: 19.92 kB / 0.6719 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1922, allocations: 12 kB / 0.672 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001616/0.1924, allocations: 186 kB / 0.6721 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1924, allocations: 4 kB / 0.6721 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004348/0.1929, allocations: 95.75 kB / 0.6722 GB, free: 12.04 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.001158/0.194, allocations: 1.073 MB / 0.6733 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.1945, allocations: 167.8 kB / 0.6734 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1945, allocations: 0 / 0.6734 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.1948, allocations: 116.1 kB / 0.6736 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007871/0.1956, allocations: 121.8 kB / 0.6737 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.1988, allocations: 2.633 MB / 0.6762 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1992, allocations: 0.779 MB / 0.677 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000161/0.1993, allocations: 50.19 kB / 0.677 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1994, allocations: 91.41 kB / 0.6771 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1995, allocations: 0 / 0.6771 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.2261, allocations: 8.12 MB / 0.6851 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/7.923, allocations: 10.45 kB / 0.6851 GB, free: 14.88 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)