Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009491/0.0009491, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9454/0.9454, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001719/0.001719, allocations: 247 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.79/0.79, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.02e-05, allocations: 3.516 kB / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1412/0.1412, allocations: 149.5 MB / 0.5974 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.1552, allocations: 11.28 MB / 0.6085 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.1567, allocations: 43.62 kB / 0.6085 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009005/0.1576, allocations: 349 kB / 0.6088 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.1608, allocations: 1.098 MB / 0.6099 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.1637, allocations: 1.505 MB / 0.6114 GB, free: 14.66 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.1664, allocations: 2.579 MB / 0.6139 GB, free: 12.07 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.1681, allocations: 1.345 MB / 0.6152 GB, free: 10.66 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.1713, allocations: 1.677 MB / 0.6168 GB, free: 9.086 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.1724, allocations: 0.6893 MB / 0.6175 GB, free: 8.395 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.1728, allocations: 164 kB / 0.6177 GB, free: 8.234 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.1745, allocations: 0.9279 MB / 0.6186 GB, free: 7.305 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.1749, allocations: 0.4984 MB / 0.6191 GB, free: 6.805 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.1754, allocations: 0.5845 MB / 0.6196 GB, free: 6.219 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.1779, allocations: 1.997 MB / 0.6216 GB, free: 4.215 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1779, allocations: 0 / 0.6216 GB, free: 4.215 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1779, allocations: 0 / 0.6216 GB, free: 4.215 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.1779, allocations: 0 / 0.6216 GB, free: 4.215 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.001994/0.1799, allocations: 1.928 MB / 0.6235 GB, free: 2.25 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1799, allocations: 8.75 kB / 0.6235 GB, free: 2.242 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.1815, allocations: 0.6036 MB / 0.6241 GB, free: 1.637 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.1826, allocations: 0.8043 MB / 0.6248 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.1827, allocations: 106.7 kB / 0.6249 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.1828, allocations: 140 kB / 0.6251 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.1843, allocations: 1.498 MB / 0.6265 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.1843, allocations: 4 kB / 0.6266 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.1844, allocations: 60.94 kB / 0.6266 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1844, allocations: 39.94 kB / 0.6266 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.1852, allocations: 0.7615 MB / 0.6274 GB, free: 13.99 MB / 0.5886 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.003303/0.1885, allocations: 2.934 MB / 0.6303 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008089/0.1893, allocations: 0.5724 MB / 0.6308 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.1895, allocations: 188.9 kB / 0.631 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/0.1898, allocations: 96.89 kB / 0.6311 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005664/0.1904, allocations: 0.7903 MB / 0.6319 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=107): time 2.534e-06/0.1904, allocations: 0 / 0.6319 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=107): time 0.001304/0.1917, allocations: 0.7176 MB / 0.6326 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.1918, allocations: 196.9 kB / 0.6327 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.1922, allocations: 0.6386 MB / 0.6334 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.1923, allocations: 49.7 kB / 0.6334 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.1925, allocations: 0.5065 MB / 0.6339 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.1927, allocations: 364.8 kB / 0.6343 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.1929, allocations: 206.7 kB / 0.6345 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.193, allocations: 345.9 kB / 0.6348 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1932, allocations: 121.4 kB / 0.6349 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.1934, allocations: 419.2 kB / 0.6353 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.1939, allocations: 485.1 kB / 0.6358 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1939, allocations: 0.625 kB / 0.6358 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0007482/0.1946, allocations: 0.5769 MB / 0.6363 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1946, allocations: 4 kB / 0.6363 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1947, allocations: 8.25 kB / 0.6363 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.195, allocations: 124.7 kB / 0.6365 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.1955, allocations: 243.6 kB / 0.6367 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.1968, allocations: 1.32 MB / 0.638 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.1972, allocations: 99.38 kB / 0.6381 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.1972, allocations: 39.95 kB / 0.6381 GB, free: 2.543 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002748/0.1975, allocations: 186.2 kB / 0.6383 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.1976, allocations: 103.9 kB / 0.6384 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.1986, allocations: 0.7589 MB / 0.6391 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1986, allocations: 15.94 kB / 0.6391 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1986, allocations: 0 / 0.6391 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.1987, allocations: 7.969 kB / 0.6392 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.2004, allocations: 1.363 MB / 0.6405 GB, free: 72 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2004, allocations: 3.938 kB / 0.6405 GB, free: 68 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.2009, allocations: 203.8 kB / 0.6407 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000308/0.2012, allocations: 110.2 kB / 0.6408 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.2012, allocations: 31.97 kB / 0.6408 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009052/0.2021, allocations: 1.325 MB / 0.6421 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2021, allocations: 3.938 kB / 0.6421 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007656/0.2029, allocations: 0.6688 MB / 0.6428 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.2032, allocations: 194.8 kB / 0.643 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/0.2033, allocations: 24 kB / 0.643 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.2036, allocations: 51.95 kB / 0.643 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2037, allocations: 81.88 kB / 0.6431 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.2038, allocations: 39.95 kB / 0.6431 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002616/0.2041, allocations: 326.5 kB / 0.6435 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.2041, allocations: 0 / 0.6435 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001089/0.2051, allocations: 0.5141 MB / 0.644 GB, free: 12.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/0.2068, allocations: 0.8242 MB / 0.6448 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.2079, allocations: 0.6188 MB / 0.6454 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/0.208, allocations: 11.91 kB / 0.6454 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.2084, allocations: 426.8 kB / 0.6458 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009815/0.2093, allocations: 490.9 kB / 0.6463 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.2122, allocations: 2.139 MB / 0.6483 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.2124, allocations: 272.1 kB / 0.6486 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007028/0.2131, allocations: 266.9 kB / 0.6489 GB, free: 7.672 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008089/0.2139, allocations: 462.9 kB / 0.6493 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of SimCode: time 1.623e-06/0.2139, allocations: 3.938 kB / 0.6493 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of Templates: time 0.2432/0.4571, allocations: 24.52 MB / 0.6732 GB, free: 75.3 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.979349643923342]