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.001241/0.001241, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002402/0.002403, allocations: 275 kB / 290.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 101.8 kB / 0.6065 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1602, allocations: 89.15 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01656/0.1768, allocations: 14.77 MB / 0.708 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004927/0.1818, allocations: 3.723 MB / 0.7117 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.1821, allocations: 11.94 kB / 0.7117 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.1826, allocations: 170.7 kB / 0.7118 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008517/0.1835, allocations: 402 kB / 0.7122 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.1844, allocations: 329 kB / 0.7125 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008782/0.1853, allocations: 0.7765 MB / 0.7133 GB, free: 0 / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004891/0.1858, allocations: 308.1 kB / 0.7136 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007518/0.1865, allocations: 374.5 kB / 0.7139 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.1868, allocations: 222.9 kB / 0.7141 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.1869, allocations: 20 kB / 0.7142 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.1874, allocations: 227.5 kB / 0.7144 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.72e-05/0.1875, allocations: 67.75 kB / 0.7145 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1877, allocations: 143.3 kB / 0.7146 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.1883, allocations: 430.7 kB / 0.715 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1883, allocations: 0 / 0.715 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1883, allocations: 0 / 0.715 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.1883, allocations: 0 / 0.715 GB, free: 14.24 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.0009206/0.1892, allocations: 0.5962 MB / 0.7156 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1893, allocations: 15.97 kB / 0.7156 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/0.1894, allocations: 58.73 kB / 0.7157 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.1895, allocations: 32.56 kB / 0.7157 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1899, allocations: 315 kB / 0.716 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1899, allocations: 16.81 kB / 0.716 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.19, allocations: 20.38 kB / 0.716 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.1905, allocations: 261.2 kB / 0.7163 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1905, allocations: 0 / 0.7163 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.1906, allocations: 15.97 kB / 0.7163 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1906, allocations: 8 kB / 0.7163 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.1911, allocations: 183.3 kB / 0.7165 GB, free: 12.64 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.001257/0.1923, allocations: 0.8359 MB / 0.7173 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1927, allocations: 133.1 kB / 0.7174 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.1929, allocations: 89.66 kB / 0.7175 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/0.1934, allocations: 0.4986 MB / 0.718 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1935, allocations: 30.56 kB / 0.718 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.502e-06/0.1935, allocations: 0 / 0.718 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0008202/0.1943, allocations: 261.2 kB / 0.7183 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.1944, allocations: 77.11 kB / 0.7183 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.1947, allocations: 267 kB / 0.7186 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.1947, allocations: 29.7 kB / 0.7186 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1948, allocations: 168.2 kB / 0.7188 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.1949, allocations: 51.5 kB / 0.7188 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.195, allocations: 37.64 kB / 0.7189 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1951, allocations: 334.8 kB / 0.7192 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.1953, allocations: 60.2 kB / 0.7192 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.1956, allocations: 113.9 kB / 0.7193 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.196, allocations: 180.2 kB / 0.7195 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.196, allocations: 4 kB / 0.7195 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005311/0.1966, allocations: 217.1 kB / 0.7197 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1966, allocations: 4 kB / 0.7197 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1966, allocations: 4 kB / 0.7197 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1966, allocations: 0 / 0.7197 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.1969, allocations: 56.03 kB / 0.7198 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1969, allocations: 0 / 0.7198 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1971, allocations: 35.81 kB / 0.7198 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1971, allocations: 7.938 kB / 0.7198 GB, free: 8.883 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.0001668/0.1973, allocations: 154.2 kB / 0.72 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.1974, allocations: 23.72 kB / 0.72 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.1978, allocations: 186.5 kB / 0.7202 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.1978, allocations: 4 kB / 0.7202 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1978, allocations: 4.031 kB / 0.7202 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1978, allocations: 3.938 kB / 0.7202 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.1986, allocations: 0.5951 MB / 0.7208 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1986, allocations: 3.984 kB / 0.7208 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.1989, allocations: 60.02 kB / 0.7208 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1989, allocations: 0 / 0.7208 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1989, allocations: 4 kB / 0.7208 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1989, allocations: 7.984 kB / 0.7208 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1989, allocations: 0 / 0.7208 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.1996, allocations: 441.6 kB / 0.7213 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1997, allocations: 120.7 kB / 0.7214 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.1997, allocations: 8.125 kB / 0.7214 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.2, allocations: 23.97 kB / 0.7214 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.2, allocations: 15.92 kB / 0.7214 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.2001, allocations: 8 kB / 0.7214 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002147/0.2003, allocations: 194 kB / 0.7216 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2003, allocations: 0 / 0.7216 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004302/0.2007, allocations: 83.83 kB / 0.7217 GB, free: 6.84 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.001266/0.202, allocations: 1.072 MB / 0.7227 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005171/0.2025, allocations: 179.7 kB / 0.7229 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2025, allocations: 0 / 0.7229 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.2028, allocations: 120.2 kB / 0.723 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.2036, allocations: 113.5 kB / 0.7231 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.2071, allocations: 2.635 MB / 0.7257 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.2076, allocations: 0.7752 MB / 0.7265 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.2077, allocations: 54.33 kB / 0.7265 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2079, allocations: 87.41 kB / 0.7266 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.2079, allocations: 0 / 0.7266 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.2385, allocations: 8.078 MB / 0.7345 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/7.821, allocations: 8.656 kB / 0.7345 GB, free: 9.773 MB / 0.5294 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)