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: translateModel(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001068, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001031/0.001031, allocations: 192.1 kB / 16.25 MB, free: 6.617 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.311/1.311, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002165/0.002165, allocations: 286.9 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9793/0.9793, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 94.88 kB / 0.5947 GB, free: 28.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1589, allocations: 86.99 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01479/0.1737, allocations: 14.7 MB / 0.694 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004351/0.1781, allocations: 3.692 MB / 0.6976 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.1785, allocations: 15.88 kB / 0.6976 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.179, allocations: 139.1 kB / 0.6977 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00084/0.1798, allocations: 382.3 kB / 0.6981 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.1806, allocations: 299.2 kB / 0.6984 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000735/0.1813, allocations: 0.7764 MB / 0.6991 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.1817, allocations: 288.2 kB / 0.6994 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005812/0.1823, allocations: 378.5 kB / 0.6998 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1826, allocations: 226.9 kB / 0.7 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.1826, allocations: 24 kB / 0.7 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.183, allocations: 231.5 kB / 0.7002 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.1831, allocations: 71.75 kB / 0.7003 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1832, allocations: 147.3 kB / 0.7004 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.1837, allocations: 426.7 kB / 0.7009 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1838, allocations: 4 kB / 0.7009 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1838, allocations: 0 / 0.7009 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.1838, allocations: 3.938 kB / 0.7009 GB, free: 11.24 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.0008316/0.1846, allocations: 0.6079 MB / 0.7015 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1847, allocations: 8.031 kB / 0.7015 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.1847, allocations: 36.56 kB / 0.7015 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.1851, allocations: 307 kB / 0.7018 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1852, allocations: 20.75 kB / 0.7018 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.1852, allocations: 24.38 kB / 0.7018 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.1857, allocations: 261.5 kB / 0.7021 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1857, allocations: 0 / 0.7021 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.1858, allocations: 4 kB / 0.7021 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1858, allocations: 8 kB / 0.7021 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.1862, allocations: 188.4 kB / 0.7023 GB, free: 9.695 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.001141/0.1874, allocations: 0.8282 MB / 0.7031 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1877, allocations: 141.1 kB / 0.7032 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.1879, allocations: 97.58 kB / 0.7033 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.1883, allocations: 494.6 kB / 0.7038 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1883, allocations: 42.56 kB / 0.7038 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.1883, allocations: 0 / 0.7038 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007271/0.189, allocations: 261.2 kB / 0.7041 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.1891, allocations: 81.11 kB / 0.7041 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1894, allocations: 263 kB / 0.7044 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1894, allocations: 33.7 kB / 0.7044 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1895, allocations: 176.2 kB / 0.7046 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1896, allocations: 35.45 kB / 0.7046 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.1896, allocations: 33.7 kB / 0.7047 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1898, allocations: 338.8 kB / 0.705 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.19, allocations: 59.94 kB / 0.705 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.1902, allocations: 121.9 kB / 0.7052 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.1906, allocations: 172.1 kB / 0.7053 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1906, allocations: 0 / 0.7053 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004869/0.1911, allocations: 205.2 kB / 0.7055 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1911, allocations: 14.44 kB / 0.7055 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1911, allocations: 3.938 kB / 0.7055 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1912, allocations: 4 kB / 0.7055 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.1914, allocations: 51.94 kB / 0.7056 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1915, allocations: 4 kB / 0.7056 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.1917, allocations: 40.09 kB / 0.7056 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.1917, allocations: 8 kB / 0.7056 GB, free: 5.934 MB / 0.4981 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.0001351/0.1918, allocations: 147 kB / 0.7058 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.1919, allocations: 31.66 kB / 0.7058 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.1923, allocations: 178.6 kB / 0.706 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1923, allocations: 4.094 kB / 0.706 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1923, allocations: 7.938 kB / 0.706 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1923, allocations: 7.984 kB / 0.706 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000836/0.1932, allocations: 0.5951 MB / 0.7066 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1932, allocations: 0 / 0.7066 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.1934, allocations: 60.06 kB / 0.7066 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1934, allocations: 0 / 0.7066 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1934, allocations: 4 kB / 0.7066 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.1935, allocations: 7.938 kB / 0.7067 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1935, allocations: 0 / 0.7067 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.1941, allocations: 437.7 kB / 0.7071 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1942, allocations: 120.7 kB / 0.7072 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.1942, allocations: 11.98 kB / 0.7072 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1945, allocations: 24.03 kB / 0.7072 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.1945, allocations: 23.78 kB / 0.7072 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.1946, allocations: 15.98 kB / 0.7073 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001763/0.1947, allocations: 190 kB / 0.7074 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1947, allocations: 0 / 0.7074 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004101/0.1952, allocations: 91.83 kB / 0.7075 GB, free: 3.879 MB / 0.4981 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.0004053/0.1956, allocations: 194 kB / 0.7077 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.1961, allocations: 191.7 kB / 0.7079 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1961, allocations: 0 / 0.7079 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.1963, allocations: 107.8 kB / 0.708 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.1972, allocations: 121.2 kB / 0.7081 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.198, allocations: 0.6182 MB / 0.7087 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1983, allocations: 0.7753 MB / 0.7095 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.1985, allocations: 50.2 kB / 0.7095 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.1986, allocations: 23.44 kB / 0.7095 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1986, allocations: 0 / 0.7095 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.009607/0.2082, allocations: 5.098 MB / 0.7145 GB, free: 12.73 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)